spinsage / fastify-js-mongo-starter-rest

Boilerplate project for bootstrapping development of a Rest API application with NodeJS, Fastify, and MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Gitter chat PRs Welcome

Fastify Rest API with MongoDb Starter

Boilerplate project for bootstrapping development of a Rest API application with NodeJS, Fastify and MongoDB

Getting Started

Clone the repository

git clone https://github.com/spinsage/fastify-js-mongo-starter-rest.git

Install dependencies

npm install

Configure environment variables

  • Create a .env file by copying .env.sample.
  • Update environment variable values in the .env file as needed.

Run the application

For development

npm run start-dev

For deployment

npm run start

Within a Docker container

docker-compose up

LICENSE

Fastify Rest API with MongoDb Starter is Apache 2-licensed.

Let us know!

We at Spinsage would be happy if you send us links to your projects where you are using our code. Just send us an email at opensource@spinsage.com.

And do let us know if you have any queries or suggestions regarding our work.

About

Boilerplate project for bootstrapping development of a Rest API application with NodeJS, Fastify, and MongoDB

License:Apache License 2.0


Languages

Language:JavaScript 96.7%Language:Dockerfile 3.3%