Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brandonxiang/fastify-starter

A simplest template to start up a http server
https://github.com/brandonxiang/fastify-starter

fastify nodejs starter template templates typescript

Last synced: 9 days ago
JSON representation

A simplest template to start up a http server

Awesome Lists containing this project

README

        



Template Logo

# Fastify Starter 😄

## Why do you use this template

This template is a simplest solution to start up an http server.

## What is the key web framework for this template

- [Fasity](https://fastify.dev/)
- [TypeScript](https://www.typescriptlang.org/)
- [Knex](https://knexjs.org/)
- [Mysql](https://github.com/mysqljs/mysql)
- [IORedis](https://github.com/luin/ioredis)

## Start Up

Please use [degit](https://github.com/Rich-Harris/degit) to download template

```bash
mkdir your-project-name
cd your-project-name
npx degit brandonxiang/fastify-starter

# or

npx degit brandonxiang/fastify-starter your-project-name
```

## How to Develop

```shell
pnpm i
```

```shell
pnpm run dev

# http://localhost:3000/
```

## How to Build

```shell
# live
pnpm run build
```

## Project Management

- [husky](https://typicode.github.io/husky/)
- [lint-staged](https://github.com/lint-staged/lint-staged)
- [eslint 9](https://eslint.org/)