-
A minimal PayTM-style app with user signup/signin, balance view, user search, send money, and transaction history.
-
Live link: Live
git clone https://github.com/Neerajkomatishetti/paytm-clone.git
cd your-repo/PayTM/paytmCreate a .env file in paytm/backend:
JWT_SECRET=your_jwt_secret_here
MONGODB_URL=mongodb://localhost:27017/paytm
PORT=3000- Backend:
cd backend
npm install- Frontend:
cd ../frontend
npm install- Start backend (port 3000):
cd ../backend
npm start- Start frontend (Vite on 5173):
cd ../frontend
npm run devOpen http://localhost:5173.
cd paytm/frontend
npm run buildThe backend serves ../frontend/dist at http://localhost:3000.
- Ensure MongoDB is running and accessible via
MONGODB_URL. - Update
MONGODB_URLif using Docker/Atlas. - API base:
http://localhost:3000/api/v1 - Key files:
paytm/backend/index.js,paytm/backend/routes/,paytm/frontend/src/




