Skip to content

A simple web application which simulates the working of payment application using transaction principles in MongoDB to ensure the ACID property in database

Notifications You must be signed in to change notification settings

ifrah-ashraf/paytm-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Paytm - Basic Payment App

A full-stack payment application "Paytm" where users can sign in or sign up, transfer money from one account to another, and have their transactions stored securely in MongoDB, adhering to ACID principles. The project is built using ReactJS for the frontend, Express for the backend, and MongoDB for data storage.

Features

  • User Authentication:

    • Users can sign up and log in using JWT-based authentication.
    • JWT tokens are generated and verified for secure user sessions.
  • Money Transfer:

    • Users can transfer money between accounts.
    • Transactions are recorded in the database securely.
  • ACID-compliant Transactions:

    • MongoDB transactions are implemented to ensure atomicity, consistency, isolation, and durability (ACID) during money transfers.

To Run This Locally

1. To Run Backend

cd paytm/backend
npm install

Set up environment variables by creating a .env file in the backend directory and add the following variables:

MONGO_URI=<your_mongo_db_connection_string>
PORT=<your_desired_port>

Run the application

nodemon index.js 

2. To Run frontend

cd paytm/frontend
npm install
npm run dev

About

A simple web application which simulates the working of payment application using transaction principles in MongoDB to ensure the ACID property in database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published