spinsage / fastify-js-rdbms-starter-rest

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Gitter chat PRs Welcome

Fastify Rest API with MySQL Starter

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

Getting Started

Clone the repository

git clone https://github.com/spinsage/fastify-js-rdbms-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 MySQL 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 the development of a Rest API application with NodeJS, Fastify, and MySQL

License:Apache License 2.0


Languages

Language:JavaScript 97.4%Language:Dockerfile 2.6%