ganhuaking / todo-api-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:TypeScript 97.4%Language:JavaScript 2.6%