git clone https://github.com/srlakhotia/cc-processing.git
cd cc-processing
npm install
npm run install-all
npm start
Frontend server will run at http://localhost:3000
Backend server will run at http://localhost:3001
cd backend
npm run test
Response format:
{
"success": true,
"data": [{
"name": "Sneh Raj Lakhotia",
"cardNumber": "4024007103939509",
"limit": "333",
"balance": 0
}
],
"error": null
}
body format:
{
"name": "Sneh Raj Lakhotia 1",
"cardNumber": "4024007103939509",
"limit": "333"
}
Response format:
{
"success": true,
"data": [{
"name": "Sneh Raj Lakhotia",
"cardNumber": "4024007103939509",
"limit": "333",
"balance": 0
}
],
"error": null
}