Starter Project for a Node.js application using TypeScript with all boring stuff already configured.
Starter project for Node.js applications using TypeScript with test, lint, code formatter already configured.
Check the tooling section for more details.
The preferable way to use this boilerplate is using npx
command. You can use npm init
too.
Use the following commands to bootstrap a new project:
npx create-nodejs-ts --no --app=your-app
npm init nodejs-ts -- --app=your-app
Without parameters, the project will be created on a folder my-app in the same directory where you executed the
command.
All parameters available:
--destination=<FOLDER_DESTINATION> Defaults to the current directory
--app=<APP_NAME> Defaults to my-app
The final folder will the parameter destination
, if provided, concatenated with the parameter app
.
The project template now uses ESM by default.
Minimalist docker image generation.
Check this Dockerfile.
Run make up
to spin up a local environment with Docker Compose.
Check this docker-compose.yml for more details.
- ESM
- TypeScript
- Jest
- EsLint
- Husky
- Commit Lint
- Lint Staged
- Prettier
- Nodemon
- Docker | Docker Compose
This project is MIT Licensed.