Skip to content

Quick parcel API Nodejs : with Fastify, DotEnv, Nodemon, Mongoose.

Notifications You must be signed in to change notification settings

quentinmdl/quick-parcel-api-fastify

Repository files navigation

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)

About

Quick parcel API Nodejs : with Fastify, DotEnv, Nodemon, Mongoose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published