Skip to content

A small full stack application for a credit card provider. It allows to add new credit card accounts and view them as a list. ReactJs and NodeJs

Notifications You must be signed in to change notification settings

harshyatishmishra/Credit-Card-System-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit-Card-System

A small full stack application for a credit card provider. It allows to add new credit card accounts and view them as a list. ReactJs and NodeJs(Node Installation)

Creditcard-server is the backend(NodeJs)

In the project directory, you can run:

npm install

To run the server use

node server.js

from the directory.

To run the test cases

npm test

Run the server api in Postman. using http://localhost:3000 url

Two Rest Api

POST : /creditcard

It accept the credit card details and save in the file at the server. Payload:

{
   "cardholdername": "Harsh",
  "cardlimit": 10000,
  "cardnumber": "5182913491948975"
}

GET : /creditcard

It fetch the all credit card details to display it on the UI.

About

A small full stack application for a credit card provider. It allows to add new credit card accounts and view them as a list. ReactJs and NodeJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages