A simple Todo REST API with authentication built with NestJS and Prisma.
- Clone the repository
git clone https://github.com/mohamadayash22/nestjs-todo-api.git
- Install dependencies
npm install
- Start the development database
- If you have a local instance of PostgreSQL running, you can skip this step. In this case, you will need to update the
DATABASE_URL
in the.env
file to point to your local instance of PostgreSQL.
docker-compose up -d
- Run the migrations
npm run migrate:dev
- Start the development server
npm run start:dev