PayTM Clone - PayDM link
This project demonstrates a PayTM clone where users can sign up and register on our platform to receive some signup paper money. They can transfer the money to their friends who are already on the platform.
- Secure Transactions: Utilizes encryption and secure payment protocols to ensure transaction safety.
- Modular Codebase: Well-structured and modular code for easy understanding and maintenance.
- User Search: Allows users to search for other users on the platform.
- No User Found Handling: Displays a message when no users are found based on the search criteria.
- Frontend: React.js
- Backend: Node.js, Express.js
- Security: JWT for authentication, bcrypt for password hashing
- Database: MongoDB for storing transaction and user data
- HTTP Client: Axios for making API requests
- Node.js
- MongoDB
- Express.js
- React.js
-
Clone the repository:
git clone https://github.com/Darshan98Solanki/paytm.git
-
Navigate to the project directory:
cd paytm -
Install dependencies:
npm install
-
Set up environment variables in a
.envfile:PAYTM_MERCHANT_ID=<Your PayTM Merchant ID> PAYTM_MERCHANT_KEY=<Your PayTM Merchant Key> JWT_SECRET=<Your JWT Secret> -
Start the development server:
npm start
- Open your browser and navigate to
http://localhost:3000. - Sign up or log in to the platform.
- Use the search bar to find users.
- Transfer money to other users on the platform.
frontend/src/components: Contains React components such asUser,Users,SearchBar, andNoUserFound.backend: Contains the backend code for handling API requests and database operations.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.