A progressive Node.js framework for building efficient and scalable server-side applications.
Simple todo api built with Nest framework. Using mysql and typeorm
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# create new todo
# @Body { task: string, due: Date }
$ POST /todo
# find todo
# @Param { id: string }
$ GET /todo/:id
# fetch all todos
$ GET /todo
# update todo
# @Param { id: string }
# &Body { due?: string, task?: string, completed?: boolean }
$ PUT /todo/:id
# delete todo
# @Param { id: string }
$ DELETE /todo/:id
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.