Skip to content

Neerajkomatishetti/paytm-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PayTM Clone – Simple README

Demo

  • A minimal PayTM-style app with user signup/signin, balance view, user search, send money, and transaction history.

  • Live link: Live

Screenshots

  • Signin: Signin

  • Signup: Signup

  • Dashboard: Dashboard

  • Send Money: Send+Money

  • History: History

Installation (Clone & Run)

1) Clone the repository

git clone https://github.com/Neerajkomatishetti/paytm-clone.git
cd your-repo/PayTM/paytm

2) Setup environment variables

Create a .env file in paytm/backend:

JWT_SECRET=your_jwt_secret_here
MONGODB_URL=mongodb://localhost:27017/paytm
PORT=3000

3) Install dependencies

  • Backend:
cd backend
npm install
  • Frontend:
cd ../frontend
npm install

4) Run the app (development)

  • Start backend (port 3000):
cd ../backend
npm start
  • Start frontend (Vite on 5173):
cd ../frontend
npm run dev

Open http://localhost:5173.

5) Build production frontend (optional)

cd paytm/frontend
npm run build

The backend serves ../frontend/dist at http://localhost:3000.

Notes

  • Ensure MongoDB is running and accessible via MONGODB_URL.
  • Update MONGODB_URL if using Docker/Atlas.
  • API base: http://localhost:3000/api/v1
  • Key files: paytm/backend/index.js, paytm/backend/routes/, paytm/frontend/src/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •