Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 587 Bytes

README.md

File metadata and controls

58 lines (34 loc) · 587 Bytes

Quick-parcel-api-node by quentinmdl

Description

Basic entity api with Node + Fastify + Mongoose

Methods :

GET, POST, PUT, DELETE

Routes:

  • post
  • getAlls
  • search (option: ?term=)
  • getById/:id
  • updateById/:id
  • deleteById/:id

Started

Configure and rename all files :

- Env
- server.js
- Controller
- Models
- Routes
- Validations

Commands

Install the node modules

    npm install
    npm install

Then run the project with it

    npm run dev

Entity

(Form urlencoded)