Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anvouk/express-typescript-template
Personal NodeJS template for express webapis
https://github.com/anvouk/express-typescript-template
backend docker expressjs nodejs template webapi
Last synced: about 1 month ago
JSON representation
Personal NodeJS template for express webapis
- Host: GitHub
- URL: https://github.com/anvouk/express-typescript-template
- Owner: anvouk
- License: unlicense
- Created: 2022-03-07T15:55:03.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T16:21:03.000Z (over 1 year ago)
- Last Synced: 2023-11-08T16:46:57.163Z (over 1 year ago)
- Topics: backend, docker, expressjs, nodejs, template, webapi
- Language: TypeScript
- Homepage:
- Size: 745 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-typescript-template
Personal NodeJS template for express webapis.
## Features
- Fully written in TypeScript
- Full typings everywhere
- Sensible `tsconfig.json`
- Error handling
- JSON Logging (pino) with pretty print during dev
- Docker support (both `Yarn` and `NPM`)
- Express routing
- Controllers/Services/Routes structure
- Development HotReload (ts-node-dev)
- Unit testing (jest with `*.spec.ts` files)
- [Volta](https://volta.sh/) support
- Automatic files formatting on-commit with sensible defaults (prettier/pretty-quick/simple-git-hooks)
- Express common middlewares included (morgan, etc)
- Basic auth guard system
- Postgres-ready (no ORMs)
- Redis-ready
- SIGTERM, SIGINT intercept for cleaner and faster shutdowns
- HTTP validation (express-validator)
- EditorConfig support
- Very fast and optimized build with [esbuild](https://esbuild.github.io/)