This is a sample Hypercheckout server integration which was used to explain the backend integration in Hypercheckout Android Integration Masterclass Video
This is NOT production ready code, please use this code as reference to integrate Hypercheckout S2S APIs into your own backend server.
- Create a Local PostgreSQL DB (Guide)
- Create a
order_details
table using the following SQL command: -CREATE TABLE order_details ( order_id character varying, amount character varying, status character varying, polling_triggered boolean DEFAULT false );
- Duplicate
.env.sample
file and rename it to.env
. Inside this file, add your Database and Juspay credentials. - In the root directory of the project, run
npm install
to install the required dependencies - Run
npm start
command to start the server