Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vincent-the-gamer/nitro-starter
Starter template of Nitro server.
https://github.com/vincent-the-gamer/nitro-starter
Last synced: 5 days ago
JSON representation
Starter template of Nitro server.
- Host: GitHub
- URL: https://github.com/vincent-the-gamer/nitro-starter
- Owner: Vincent-the-gamer
- License: mit
- Created: 2024-04-08T15:55:29.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T06:06:39.000Z (25 days ago)
- Last Synced: 2024-10-21T08:57:29.310Z (25 days ago)
- Language: TypeScript
- Size: 1.37 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nitro starter
Starter of nitro server with some basic config.Nitro: [https://nitro.unjs.io/](https://nitro.unjs.io/)
# Features
- eslint: auto beautify and fix TypeScript codes, powered by [@antfu/eslint-config](https://github.com/antfu/eslint-config)
- taze: rolling update dependencies.
- tslog: log request method and path on every request(can be further extended).# Usage
Generate a new repo using this template, or clone to local.```shell
# dev
pnpm run dev# lint & fix
pnpm run lint:fix# build
pnpm run build# preview
pnpm run start# start production
NITRO_PORT=8888 node .output/server/index.mjs
```# Demo
![demo](./.github/demo.png)# License
[MIT License 2024-present @ Vincent-the-gamer](./LICENSE)