Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clinton-mwachia/fastify-starter-template

Fastify Starter Template
https://github.com/clinton-mwachia/fastify-starter-template

fastify nodejs server

Last synced: about 2 months ago
JSON representation

Fastify Starter Template

Awesome Lists containing this project

README

        


Fastify Icon

# Fastify Starter Template

[![Fastify Version](https://img.shields.io/badge/fastify-4.24.2-blue.svg)](https://fastify.dev/)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

## Features

- Shemas and Models.
- Routes.
- Authentication.
- File Uploads
- Easy integration and extensibility to fit your project requirements.
- Simple html UI to test the apis.

## 🛠️ Built with:

- [Fastify](https://fastify.dev/)

## 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=

2. Install dependencies using `npm install`.
3. Start the development server with `npm run dev`.

## Benchmark

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