Skip to content

Rudra-Sankha-Sinhamahapatra/MoneyTM-Payments-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoneyTM Payments

About

  • Inspired By Paytm Payments App
  • MoneyTm Payemnts is a payment site ,where users can make their account to receive some credits and then users can seamlessly send or receive money.This Project focuses to build user interactive ui interface and seamless payment method

Tech stacks

Backend

  • Express - HTTP Server
  • mongoose - ODM to connect to MongoDB
  • zod - Input validation
  • mongo db - database
  • bcrypt - For hashing password before storing it in db
  • jsonwebtokens - for generating tokens and token validation
  • cors - for avoiding browser cors error

Frontend

  • React - Frontend framework
  • Tailwind - Styling framework

description

  • This project is inspired by Paytm
  • It is a project where i have successfully implemented transaction logic
  • User can sign up,sign in and send money,receive money
  • Passwords gets hashed before storing it in database
  • Though its not like paytm where we can use upi and other bank services

clone this repo or download the root folder

  • after this run npm install on both frontend and backend folder
cd frontend
npm install
cd ../backend
npm install
  • install other dependencies if needed
  • create a . env file and store your MONGO_URL,JWT_SECRET(as .env.example) there or you can also run mongo db locally using the docker file
touch .env
npm install dotenv
  • in config.js you will import JWT_SECRET from env and export it from there.

  • go to the frontend folder

cd ../frontend
  • now create a dotenv file in your frontend folder as per .env.example
touch .env
  • store your VITE_URL(backend url) in env file

  • now you can run npm run dev to start the frontend

npm run dev
  • go to the backend folder
cd ../backend
  • now start your backend server
node index.js
  • now you can use it
  • after starting the project head over to the /signup endpoint
  • create your id and use it
  • You will receive some random money credits
  • You can send money to other users and receive money from other users

License

MIT