flashPay is a Paytm-clone web application that allows users to send and receive money seamlessly. The platform provides a secure and user-friendly interface for making financial transactions, offering features like account management and transaction history.
- Send and receive money securely
- User authentication for secure transactions
- View transaction history and account details
- React.js (Frontend)
- Express.js (Backend)
- MongoDB Atlas (Database)
- Tailwind CSS (Styling)
.
├── backend
│ └── Contains all the backend code, including routes, controllers, and database models
└── frontend
└── Contains all the frontend code for the user interface
-
Clone the repository:
git clone https://github.com/ShaikhAman01/flashPay
-
Navigate into the project directory:
cd flashPay
-
Navigate into the backend directory:
cd backend
-
Set up environment variables for backend:
-
Create a
.env
file in thebackend
directory with the following:MONGO_URI=your-mongo-db-uri JWT_SECRET=your-jwt-secret
-
Replace
your-mongo-db-uri
with your MongoDB Atlas URI andyour-jwt-secret
with a secret key for JWT authentication.
-
-
Install backend dependencies:
npm install
-
Run the backend server:
npm run server
-
Navigate into the frontend directory:
cd ../frontend
-
Install frontend dependencies:
npm install
-
Run the frontend:
npm start
-
Open
http://localhost:3000
in your browser to view the app.