This is starter Turborepo-BoilerPlate-Code.
Run the following command:
git clone https://github.com/spranjal3301/Turborepo-Boilerplate-Codeyarn installyarn run devThis project is a Venmo-like online wallet system that allows users to add money from their bank accounts, send and receive money online between users and merchants, and track transactions.
- Add money from bank account to wallet
- Send & Receive Money Online (user-to-user and user-to-merchant)
- Transaction tracking and history
- Multi-application architecture using Turborepo
- PostgreSQL database with Prisma ORM
- Sentry for application monitoring and error tracking
- Login/Signup using NextAuth (OAuth with Google & GitHub)
- Bank to Wallet Transfer (add money)
- User to User Transfer
- User to Merchant transfer
- Recent Transaction or History
- Transfer balance from user account to wallet account
- Notify webhook for successful money addition
- Update database balance when Bank API request is successful
- Login/Signup
- Recent Transaction or History
- Profile page (view details + update details)
- Withdraw money to bank
This project uses Turborepo to manage multiple applications in a monorepo framework.
user-app: Next.js app with Tailwind CSS for user interfacemerchant-app: Next.js app with Tailwind CSS for merchant interfaceui: Shared React component library with Tailwind CSSpackages/store: Recoil for state managementpackages/database: Prisma for database ORM@repo/eslint-config: ESLint configurations@repo/typescript-config: TypeScript configurations
All packages and apps are written in TypeScript.
This project is set up with the following tools:
- Yarn for package management
- Tailwind CSS for styles
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
- Recoil for state management in
packages/store - Prisma for database management in
packages/database
- Clone the repository
- Install dependencies:
yarn install - Set up your PostgreSQL database and update the connection string in
packages/database/.env - Set up Sentry and add your DSN to the relevant configuration files
- Run the development server:
yarn dev