This project is a web application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It aims to replicate the functionality of the popular payment platform Paytm. This project was created with the primary goal of learning how to implement transactions using MongoDB. Session management was utilized to implement transactional behavior, providing a deeper understanding of database transactions within the MERN stack.
The project structure is organized into two main directories:
The backend
directory contains all the server-side code written in Express.js. It includes APIs for handling various functionalities such as user authentication, payment processing.
The frontend
directory hosts the React.js application responsible for the user interface (UI) of the Paytm clone. It interacts with the backend APIs to provide users with a seamless experience for making payments,managing accounts.
The Paytm Clone application offers the following features:
- User Authentication: Secure authentication system for users to register, login, and manage their accounts.
- Payment Processing: Integration with payment gateways to facilitate transactions between users and another user.
Stay tuned as we continue to enhance the application with more features and improvements!
To run the Paytm Clone locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the
backend
directory and install dependencies usingnpm install
. - Start the backend server by running
node index.js
. - Navigate to the
frontend
directory and install dependencies usingnpm install
. - Start the frontend development server by running
npm run dev
. - Open your browser and visit
http://localhost:5757
to view the application.
Feel free to explore the codebase and contribute to making the Paytm Clone even better!
If you have any questions, feedback, or suggestions, please don't hesitate to reach out. Happy coding!