- Typescript & Javascript - Language
- Node.Js - Runtime environment for Js
- Express & ejs - sudo bank app
- Next.js - Framework for application
- PostgreSQL - Relational database
- Prisma - ORM for database
- Zod - Validation
- Tailwind - CSS styling
- shadcn/ui - UI Component Library
- NextAuth.js - Authentication
- Turbo - Repository management
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)
- Clone the repository to your local device by using the following command:
git clone https://github.com/piyushyadav1617/payPulse.git
-
Run
npm install
in the root directory to install the dependencies for the project -
Set up your
.env
file in the packages/database and apps/user-app folder using the recommendations in the.env.example
file. Alternatively, just runcp .env.example .env
-
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
-
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 -
Now in the root of the project run
npm run dev
to start all the services and apps