Skip to content

🧱 [Not-so-much] opinionated server template, with all the important stuff.

License

Notifications You must be signed in to change notification settings

iamnapo/nodejs-server-template

Repository files navigation

nodejs-server-template

[Not-so-much] opinionated server template, with all the important stuff1

1: TypeScript, Fastify, AVA, GraphQL, ESLint, Sentry, nodemon, dotenv, zod, code coverage and other bits and bobs.

build style

Use this template

  • Update package.json with your info.
  • Update LICENSE with your info.
  • Create a .env file based on .env.sample.
  • Delete this section from README and update the rest accordingly.

Prerequisites

  • node >= 20

Install

npm ci

Usage

npm run build
npm start

Run tests

npm test

Development

npm run dev