This is a basic version of a Payment app, where users can send credits to their friends. This project does not yet supports real money transaction, but the credit transfer is implemented as a real money transfer.
Technologies used for Backend
- Express js
- Mongo DB
- mongoose js
- Json Web Tokens(JWT) for authentication
- Zod library for input validaton
Technologies used for Frontend
- React JS, React-router-dom
- Tailwind CSS
-
Clone this repository by running
git clone https://github.com/md-arin/Payment-App_MERN.git
-
Move into project directory:
cd Payment-App_MERN
-
Install dependencies with npm :
-
for backend:
cd backend
thennpm install
-
for frontend :
cd frontend
thennpm install
-
-
Make sure you have a MongoDB instance in your device, if not then create one and change the URL at
backend/db/db.js
-
Move to the backend folder and start server using nodemon:
nodemon index.js
-
Now move to the frontend folder and start the react app:
npm run dev
-
Open http://localhost:5173 in your browser to see the application