-
Notifications
You must be signed in to change notification settings - Fork 4
Developer setup
Prisma + PostgreSQL for database management Recoil for state management Reusable React UI components for consistent design The repo demonstrates a secure and scalable setup for modern applications.
-
Clone the Repository
git clone https://github.com/ronibhakta1/Calxsecure.gitcd Calxsecure -
Install Dependencies
npm install -
Set Up PostgreSQL Using Docker:
docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgresOr use a managed provider like Neon.tech. -
Configure Environment Variables Copy all .env.example files to .env.
Update DATABASE_URL with your Postgres connection string.
-
Initialize the Database
cd packages/dbnpx prisma migrate devnpm i --save-dev prisma@latestnpm i @prisma/client@latestnpx prisma db seed -
Run the Apps from root folder
npm run dev