Skip to content

piyushyadav1617/payPulse

Repository files navigation

PayPulse

A digital wallet for Peer-to-Peer money transfers

Tech stack used for building this project:

Basic architecture:

screenshot1

User dashboard application UI

Home Page

screenshot1

P2p transfer Page

screenshot1

Transactions list Page

screenshot1

Add money and withdraw Page

screenshot1

Local Development

To run this project locally, you will need

  • Node.js (v18 or above)
  • Postgres SQL Database
  • Docker (if you dont have a database instance running)
  1. Clone the repository to your local device by using the following command:
git clone https://github.com/piyushyadav1617/payPulse.git
  1. Run npm install in the root directory to install the dependencies for the project

  2. Set up your .env file in the packages/database and apps/user-app folder using the recommendations in the .env.example file. Alternatively, just run cp .env.example .env

  3. Start a a postgres instance using docker or get the url of your local or cloud postgres and paste it in the .env file in packages/database. Make sure you have docker engine running.

 docker run -d -e POSTGRES_PASSWORD=password -e POSTGRES_DB=wallet -p 5433:5432 postgres
  1. Go to the packages/database folder and then run npx prisma db push & npx prisma generate to migrate the database and generate the prisma client. Please refer to the prisma docs to get the details

  2. Now in the root of the project run npm run dev to start all the services and apps