Skip to content

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

License

Notifications You must be signed in to change notification settings

spinsage/fastify-js-mongo-starter-rest

Repository files navigation

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 [email protected].

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published