Xpay is a mock payment system designed for a seamless peer-to-peer transaction experience. It uses dummy currency for demonstration and educational purposes, providing a user-friendly interface to simulate payment transactions.
Figure 1: Xpay Users Interface
Figure 2: Xpay Transaction Initiation
Figure 3: Xpay Login Page
- Secure user authentication system.
- Simulated real-time transaction updates with dummy currency.
- Search functionality to quickly find users.
- One-click payment initiation for mock transactions.
- Frontend: React
- Backend: Node.js with Express
- Database: MongoDB
- Authentication: JWT
To run this project, you will need to add the following environment variables to your .env file.
MONGO_DB=your_mongodb_uri
PORT=your_preferred_port
ORIGIN="http://localhost:5173"
Clone the project
git clone https://github.com/yourusername/yourprojectname.git
Go to the project directory
cd yourprojectname
Install dependencies
npm install
Start the server
npm start
Navigate to the frontend directory, install dependencies, and start the development server:
cd frontend
npm install
npm run dev
Thanks to all testers of the project. Special thanks to Harkirat Sir for his invaluable guidance.