A service to hold customer information
- Endpoint:
POST http://localhost:7000/v1/api/customers/register
- Payload example:
{
"first_name": "John",
"last_name": "Smith",
"email": "[email protected]",
"password": "12345#"
}
- Endpoint:
POST http://localhost:7000/v1/api/customers/login
- Payload example:
{
"email": "[email protected]",
"password": "12345#"
}
- Endpoint:
POST http://localhost:7000/v1/api/customers/fund
- Payload example:
{
"account_id": "Y5M59EUyPG",
"amount": 4000
}
- Endpoint:
GET http://localhost:7000/v1/api/customers/account?account_id=Y5M59EUyPG
npm i
npm run build
npm start