Paytm Clone - MERN Stack This project is a Paytm Clone built using the MERN stack (MongoDB, Express.js, React, Node.js). It offers a user-friendly interface and a simple, intuitive dashboard for managing payments and other related tasks, mimicking the popular Paytm app's features.
Features User Dashboard: A personalized dashboard for managing payments, transactions, and offers. Payments: Simulate sending and receiving payments through the app. Responsive UI: Clean, easy-to-use interface optimized for both desktop and mobile. Authentication: Secure user authentication with JWT (JSON Web Tokens). Database Integration: MongoDB is used to store user data, transactions, and history. Tech Stack Frontend: React.js, CSS, and Material-UI for a responsive and sleek design. Backend: Node.js and Express.js for handling server-side logic and API endpoints. Database: MongoDB for persistent storage of user data, transactions, and other necessary information. Authentication: JWT (JSON Web Tokens) for secure authentication. Installation Prerequisites To run this project locally, you'll need:
Node.js and npm (Node Package Manager) MongoDB (local or a cloud service like MongoDB Atlas) Steps to Run Locally Clone the repository:
bash Copy code git clone https://github.com/Shridhant/Paytm-Clone.git Install backend dependencies:
Navigate to the backend directory:
bash Copy code cd backend Install the dependencies:
bash Copy code npm install Set up the backend:
Create a .env file in the backend directory.
Add your MongoDB URI and JWT secret:
makefile Copy code MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key Start the backend server:
bash Copy code npm start Install frontend dependencies:
Navigate to the frontend directory:
bash Copy code cd ../frontend Install the dependencies:
bash Copy code npm install Start the frontend server:
bash Copy code npm start Access the app:
The backend will be running at http://localhost:5000 The frontend will be running at http://localhost:3000