Skip to content

bubblegan/task-board

Repository files navigation

Task Board

A brief description of your project. Add details about what the project does, its purpose, and any key features.

Table of Contents


Development

Prerequisites

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.

Steps

  1. Install all the required packages:

    npm install
  2. If the database is not initialized yet, run:

    npx prisma migrate deploy
  3. To seed the database, execute:

    npx prisma db seed
  4. Start the development server and navigate to http://localhost:3000.

    npm run dev

Docker

Prerequisites

Ensure Docker is installed on your system.

Steps

  1. Build and start the application using Docker Compose:

    docker-compose up --build
  2. Seed the database by running the following in a separate terminal:

    docker-compose exec web npx prisma db seed

Testing

E2E Test

  1. Run the following command for E2E test:

    npm run build-and-test