/todo-list

TODO list API in Node.JS

Primary LanguageTypeScriptApache License 2.0Apache-2.0

TODO List

Description

Simple TODO list backend

Configuration

Set up required environment variables e.g. by copying or renaming .env.example file to .env and adjusting its values according to your setting. Change JWT_SECRET value to some long enough (at least 32 characters) random string.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Api documentation

Generated Swagger API documentation can be found under /api endpoint

To use features provided by Swagger CLI plugin, you might need to run

$ npm run start -b swc --type-check

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Based on NestJS

Nest framework TypeScript starter repository.