This is a MERN (MongoDB, Express.js, React.js, Node.js) stack application for credit card validation.
Follow these steps to set up and run the Credit Card Validation System locally on your machine.
Before you begin, ensure you have met the following requirements:
- Node.js: Download and install Node.js.
- MongoDB: Download and install MongoDB.
-
Download and Extract the zip file and you should see Luhn (Client, Server, Readme)
-
Open this via Visual Studio Code
-
Navigate to the frontend (React) directory:
cd client cd luhn-validation
-
Install client dependencies:
npm install
-
Start the client:
npm start
-
Navigate to the backend (node / Express) directory in a new terminal:
# client cd .. # LUHN cd .. # Server folder cd server
-
Install server dependencies
npm install
-
Start the Server
nodemon index.js
-
go to the link http://localhost:3000/ to use the project output
-
Check wheather server is running or not at http://localhost:3001/ if needed
-
You can now use the Credit Card Validation System locally.
- User Authentication (Signup and Login)
- Credit Card Validation using Luhn Algorithm
- Card Details Storage in MongoDB
- React Js
- Redux - State management
- Node Js
- Express Js
- MongoDB and Mongoose for NoSQL Database storage
- JWT for Authentication