This boilerplate uses the @tsconfig/node16-strictest/tsconfig.json
base tsconfig.json
file.
Because of that, it expects NodeJS >= 18.
- Express
- Typescript
- Eslint with Typescript support
- Jest with Typescript support (your test code must be written in typescript)
- Prettier
- Husky (formats your code before each commit using a package called "pretty-quick")
- Pre-configured settings for debbuging in VSCode
In Visual Studio Code, install the following extensions:
- "EditorConfig for VS Code", from EditorConfig
- "Prettier - Code Formatter", from Prettier
- "ESLint", from Microsoft
- Since I use VSCode, and VSCode uses double quotes when automatically importing modules, I decided to use double-quotes by default for all strings
- Use the
.tests.ts
extension for your test files - The test files should be written alongside the actual source code, inside
__tests__
folders