Paycard is a peer-to-peer money transfer application that allows users to send money securely from one person to another. It features a dummy bank webhook server for facilitating secure transfers from a user's bank account to their wallet.
Follow these steps to set up and run the project locally.
git clone https://github.com/Bhavyabhardwaj/Paycard.git
cd Paycard
npm install
You can run PostgreSQL locally using Docker or use a cloud-based solution like Neon.tech.
docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres
Copy all .env.example
files to .env
and update them with the correct database URLs and other necessary configuration.
cp .env.example .env
Navigate to the packages/db
directory and run the following commands to set up the database:
cd packages/db
npx prisma migrate dev
npx prisma db seed
npx prisma generate
Navigate to the apps/user-app
directory and start the development server:
cd apps/user-app
npm run dev
You can log in using the following credentials (as defined in seed.ts
):
- Phone: 1111111111
- Password: alice
We welcome contributions! Please fork the repository and submit pull requests.