A brief description of your project. Add details about what the project does, its purpose, and any key features.
To run the application in development mode locally, ensure the DATABASE_URL
is configured in the .env
file. You can follow the structure of .env.example
.
-
Install all the required packages:
npm install
-
If the database is not initialized yet, run:
npx prisma migrate deploy
-
To seed the database, execute:
npx prisma db seed
-
Start the development server and navigate to http://localhost:3000.
npm run dev
Ensure Docker is installed on your system.
-
Build and start the application using Docker Compose:
docker-compose up --build
-
Seed the database by running the following in a separate terminal:
docker-compose exec web npx prisma db seed
-
Run the following command for E2E test:
npm run build-and-test