https://github.com/vitorsalgado/create-nodejs-ts
Starter Project for Node.js With TypeScript.
https://github.com/vitorsalgado/create-nodejs-ts
esm javascript nodejs nodejs-boilerplate project-scaffolding scaffold typescript typescript-boilerplate
Last synced: 2 months ago
JSON representation
Starter Project for Node.js With TypeScript.
- Host: GitHub
- URL: https://github.com/vitorsalgado/create-nodejs-ts
- Owner: vitorsalgado
- License: mit
- Created: 2017-03-18T01:27:56.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T14:34:26.000Z (5 months ago)
- Last Synced: 2025-02-10T09:27:27.912Z (4 months ago)
- Topics: esm, javascript, nodejs, nodejs-boilerplate, project-scaffolding, scaffold, typescript, typescript-boilerplate
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/create-nodejs-ts
- Size: 13.2 MB
- Stars: 149
- Watchers: 3
- Forks: 27
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Node.js Starter ToolKit
Starter Project for a Node.js application using TypeScript with all boring stuff already configured.## Overview
Starter project for **Node.js** applications using **TypeScript** with test, lint, code formatter already configured.
Check the [tooling](#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
```
npx create-nodejs-ts --no --app=your-app
```### NPM Init
```
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= Defaults to the current directory
--app= Defaults to my-app
```The final folder will the parameter `destination`, if provided, concatenated with the parameter `app`.
## ESM
The project template now uses **ESM** by default.
## Docker
Minimalist docker image generation.
Check this [Dockerfile](build/docker/Dockerfile).## Local Dev Environment
Run `make up` to spin up a local environment with **Docker Compose**.
Check this [docker-compose.yml](deployments/dev/docker-compose.yml) for more details.## Tooling
- ESM
- TypeScript
- Jest
- EsLint
- Husky
- Commit Lint
- Lint Staged
- Prettier
- Nodemon
- Docker | Docker Compose## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fvitorsalgado%2Fnodejs-boilerplate?ref=badge_shield)
This project is [MIT Licensed](LICENSE).