Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brandonxiang/fastify-starter
- Owner: brandonxiang
- Created: 2024-03-08T09:14:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-09T04:19:22.000Z (15 days ago)
- Last Synced: 2024-12-09T05:21:53.348Z (15 days ago)
- Topics: fastify, nodejs, starter, template, templates, typescript
- Language: TypeScript
- Homepage:
- Size: 169 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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/)