The backend side is the main brain that that stores the details and also generates payment links based on the time defined by user.
- Clone the repo
- To install dependencies, run
npm install
- Start the server in dev mode using
npm run dev
- Start the server in prod mode using
npm start
- The server will start at post 4000
body
{
"user":"DCDSTN6LBD8NXbzapaLbUSKgtv8puVU11LqQ7Eun3fTQ",
"recipient":"GcVR9YFkM66kETSAQ4fuDnaq95RpSuBKN1rUniMaT7PQ",
"amount":1,
"time":1
}
It takes care of user registration.
body
{
"user":"DCDSTN6LBD8NXbzapaLbUSKgtv8puVU11LqQ7Eun3fTQ"
}
It returns the pending payment links