Skip to content

harshopes/Paytm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Paytm Payment Application

A simple Paytm-like payment application that allows users to transfer virtual money between accounts.

Table of contents

ScreenShots

image image image image image

Features

  • User registration and login
  • JWT-based authentication
  • View account balance
  • Transfer money between users

Technologies Used

  • Frontend: React, React-router, Axios, Tailwind CSS
  • Backend: Node.js, Express.js, MongoDB, Mongoose
  • Authentication: JWT (JSON Web Token)
  • Database: MongoDB

Prerequisites

  • Node.js and npm installed
  • MongoDB installed and running

Installation

  • Clone the Repository:
    Download the project to your local machine using Git.
    Copy code git clone https://github.com/yourusername/your-repository.git

  • Navigate to the Project Directory:
    Move into the project's root directory.
    Copy code cd paytm

  • Install Backend Dependencies:
    Go to the backend folder and install the required packages.
    Copy code cd backend npm install

  • Install Frontend Dependencies:
    Move to the frontend folder and install the required packages.
    Copy code cd ../frontend npm install

  • Set Up Environment Variables:
    Create a .env file in the backend directory and add necessary environment variables like JWT_SECRET and database connection strings. Example:
    Copy code JWT_SECRET=your_jwt_secret
    change the mongoURL

  • Start MongoDB:
    Ensure MongoDB is installed and running on your machine.

  • Run the Backend Server:
    Go back to the backend directory and start the server.
    Copy code cd ../backend node index.js

  • Run the Frontend Application:
    Go to the frontend directory and start the React development server
    Copy code cd ../frontend npm run dev Your application should now be up and running on http://localhost:5173 for the frontend and the backend API should be accessible as configured.

Usage

  • Dashboard: View your account balance and available users.
  • Send Money: Transfer money to another user.
  • Confirmation: Receive confirmation after a successful transaction.
  • Logout: Logout to end session.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors