Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/clinton-mwachia/fastify-starter-template
- Owner: clinton-mwachia
- License: mit
- Created: 2023-10-16T08:18:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-25T06:10:10.000Z (5 months ago)
- Last Synced: 2024-07-25T10:55:24.415Z (5 months ago)
- Topics: fastify, nodejs, server
- Language: JavaScript
- Homepage:
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`