In this project I have meticulously crafted a web application that mimics the functionality of leading digital payment platforms. By leveraging cutting-edge technologies and best practices I have created a seamless user experience for managing transactions and interactions within the app.
Here're some of the project's best features:
-
Users can create accounts transfer funds to their app wallet and send money to other users. The system ensures transaction integrity through database transactions mirroring the reliability of bank transactions. Successful transfers credit the recipient and debit the sender while any errors result in a rollback to maintain data consistency.
-
By combining these technologies and functionalities my project aims to deliver a robust scalable and secure digital payment solution that provides a seamless experience for users.
1. Login / Signup
2. Dashboard
3. Transfer page
4. Transfer money from bank to wallet
5. P2P transaction page
6. Making P2P transfer
Welcome to my solo project, a dynamic web application inspired by popular digital payment platforms. This project showcases my expertise in building a comprehensive payment system using a carefully selected tech stack.
In this project, I have meticulously crafted a web application that mimics the functionality of leading digital payment platforms. By leveraging cutting-edge technologies and best practices, I have created a seamless user experience for managing transactions and interactions within the app.
Users can create accounts, transfer funds to their app wallet, and send money to other users. The system ensures transaction integrity through database transactions, mirroring the reliability of bank transactions. Successful transfers credit the recipient and debit the sender, while any errors result in a rollback to maintain data consistency. By combining these technologies and functionalities, my project aims to deliver a robust, scalable, and secure digital payment solution that provides a seamless experience for users.
Technologies used in the project:
- Node.js: Powers the backend API and handles server-side logic
- Docker: Containerizes the application for easy deployment and scaling
- AWS: Provides cloud infrastructure for hosting the application and managing resources
- TypeScript: Enhances code quality and maintainability with static typing
- Next.js: Utilized for building the user and merchant apps, offering server-side rendering and static site generation
- Webhooks: Enables real-time communication between the application and external services
- PostgreSQL: A robust relational database management system for storing and managing user and transaction data
- bcrypt: Ensures secure password hashing
- Prisma: Simplifies database interactions and migrations with an ORM tool
- Tailwind CSS: Styles the user interface with a utility-first CSS framework
- CI/CD pipeline: Automates the build, test, and deployment process for consistent releases
- Recoil: Manages application state in the user and merchant apps
- GitHub Workflow: Enables continuous integration and deployment using GitHub Actions
- NextAuth: Provides a secure and user-friendly authentication system for Next.js
- Turborepo: Optimizes the development workflow with high-performance build capabilities, caching, and parallel task execution
1. Clone the repo
git clone https://github.com/chiragyadav2003/Paytm
2. npm install
npm i
3. Run postgres either locally or on the cloud (neon.tech)
docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres
4. Copy over all .env.example files to .env
5. Update .env files everywhere with the right db url
6. Go to packages/db
npx prisma migrate dev
npx prisma db seed
8. Go to apps/user-app run
npm run dev
9. Try logging in using phone - 1111111111 password - alice (See seed.ts)