Skip to content

ganhuaking/todo-api-server

Repository files navigation

todo-api-server

Description

This repository is a todo api Server with Nest framework TypeScript.

architecture

api view

Tasks

Endpoint Method Description
tasks/ GET Get tasks (incl. filters)
tasks/:id GET Get a task
tasks/ POST Create a task
tasks/:id DELETE Delete a task
tasks/:id/status/ PATCH Update task status

Auth

Endpoint Method Description
auth/signup POST Sign up
auth/signin POST Sign in

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published