Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture. Fastify Website
git clone https://github.com/dibinjose/fastify-boilerplate.git
cd fastify-mongo-boilerplate
nvm use
yarn
yarn run dev
localhost:3000/docs
For authorized routes, authorization token needs to be passed as Authorization in header
.
├── env.sample
├── Insomnia.json
├── package.json
├── prettier.config.js
├── README.md
├── src
│ ├── app.js
│ ├── models
│ │ ├── sampleModel.js
│ │ └── userModel.js
│ ├── plugins
│ │ ├── apiReply.js
│ │ └── mongo.js
│ ├── schema
│ │ ├── sampleSchema.js
│ │ └── userSchema.js
│ ├── services
│ │ ├── auth.js
│ │ ├── public.js
│ │ └── user.js
│ └── utils
│ ├── replyGenerator.js
│ └── swagger.js
└── yarn.lock