/fastify-starter-template

Fastify Starter Template

Primary LanguageJavaScriptMIT LicenseMIT

Fastify Icon

Fastify Starter Template

Fastify Version License

Features

  • Shemas and Models.
  • Routes.
  • Authentication.
  • File Uploads
  • Easy integration and extensibility to fit your project requirements.

🛠️ Built with:

Getting Started

Follow these steps to get the project up and running on your local machine.

  1. Clone this repository using git clone https://github.com/clinton-mwachia/fastify-starter-template.git.

  2. create a .env file and add the following variables

    • DB =
    • PORT=
    • SECRET=
  3. Install dependencies using npm install.

  4. Start the development server with npm run dev.

Benchmark

autocannon -c 100 -d 5 -p 10 http://127.0.0.1:4050/users