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: 10 months 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 (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T21:25:58.000Z (about 2 years ago)
- Last Synced: 2024-05-12T00:42:01.007Z (over 1 year 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), [Express](https://expressjs.com/), [AVA](https://avajs.dev/), [GraphQL](https://graphql.org/), [ESLint](https://eslint.org/), [Sentry](https://sentry.io/welcome/), [tsx](https://tsx.is/), [dotenv](https://github.com/motdotla/dotenv), [zod](https://zod.dev), code coverage and other bits and bobs.
[](https://github.com/iamnapo/nodejs-server-template/actions) [](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 >= 22
## Install
```sh
pnpm i
```
## Usage
```sh
pnpm build
pnpm start
```
## Run tests
```sh
pnpm test
```
## Development
```sh
pnpm dev
```