Skip to content

Venmo-Clone is a payment wallet application designed with a monorepo setup, leveraging Prisma for database management and Next.js for the front-end and back-end. The project is built with secure communication using HTTPS to ensure safe transactions and data integrity.

Notifications You must be signed in to change notification settings

Danish-Belal/venmo-clone

Repository files navigation

Venmo-clone (Payment Gateway, Monorepo Demonstration nextJs and Prisma)

This repository demonstrates a monorepo architecture with a new tech stack. As a monorepo, our root directory contains the following:

  • apps folder: Contains our applications.
  • packages folder: Contains shareable UI components.

The UI components in the packages folder can be utilized across different applications. For more details on export and import in monorepos, please refer to the official documentation here.

Applications

We have two applications in our apps folder:

  1. bank-webhook (Next.js project): This webhook application is used to initiate transactions on the bank server and store the acknowledgment for each transaction.
  2. user-app (Next.js project): Manages the entire user interface and functionality, including the dashboard, transactions, transfers, and P2P transfers.

Packages

The packages folder handles UI components and database configurations:

  • UI: Contains static UI components that can be shared between different applications. All UI components need to be exported from the package.json file.
  • DB: Utilizes Prisma for schema management and NeonDB for data storage. It includes all necessary schemas and SQL configurations.

Setup

To set up the project, follow these steps:

  1. Pull the Docker image:
    docker pull danish19092001/venmo-clone:latest
  2. Configure the database:
    • Create a .env file in the db folder.
    • Add your NeonDB URL to the DATABASE_URL variable in the .env file.
  3. Migrate the schemas:
    npx prisma migrate
  4. Run the project:
    yarn run dev 

Issues

If you encounter any issues, please email: danishexplore019@gmail.com

About

Venmo-Clone is a payment wallet application designed with a monorepo setup, leveraging Prisma for database management and Next.js for the front-end and back-end. The project is built with secure communication using HTTPS to ensure safe transactions and data integrity.

Topics

Resources

Stars

Watchers

Forks