Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamnapo/nodejs-server-template
🧱 [Not-so-much] opinionated server template, with all the important stuff.
https://github.com/iamnapo/nodejs-server-template
ava dotenv eslint fastify graphql iamnapo nodejs nodejs-template nodemon sentry template typescript zod
Last synced: about 1 month ago
JSON representation
🧱 [Not-so-much] opinionated server template, with all the important stuff.
- Host: GitHub
- URL: https://github.com/iamnapo/nodejs-server-template
- Owner: iamnapo
- License: mit
- Created: 2021-03-29T20:25:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T21:25:58.000Z (about 1 year ago)
- Last Synced: 2024-05-12T00:42:01.007Z (7 months ago)
- Topics: ava, dotenv, eslint, fastify, graphql, iamnapo, nodejs, nodejs-template, nodemon, sentry, template, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 2.61 MB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nodejs-server-template
> [Not-so-much] opinionated server template, with all the important stuff1
1: [TypeScript](https://www.typescriptlang.org), [Fastify](https://www.fastify.io/), [AVA](https://avajs.dev/), [GraphQL](https://graphql.org/), [ESLint](https://eslint.org/), [Sentry](https://sentry.io/welcome/), [nodemon](https://nodemon.io/), [dotenv](https://github.com/motdotla/dotenv), [zod](https://zod.dev), code coverage and other bits and bobs.
[![build](https://badges.iamnapo.me/ci/iamnapo/nodejs-server-template)](https://github.com/iamnapo/nodejs-server-template/actions) [![style](https://badges.iamnapo.me/style)](https://iamnapo.me)
## Use this template
- Update [`package.json`](./package.json) with your info.
- Update [`LICENSE`](./LICENSE) with your info.
- Create a `.env` file based on [`.env.sample`](./.env.sample).
- Delete this section from README and update the rest accordingly.## Prerequisites
- node >= 20
## Install
```sh
npm ci
```## Usage
```sh
npm run build
npm start
```## Run tests
```sh
npm test
```## Development
```sh
npm run dev
```