One-liner: Create private repo. Clone it. Install deps. Open VS Code.
PROJECT_NAME='boil-node' # Repo will be named "boil-node" unless you change this.
gh repo create --private --clone --template Christopher-Hayes/boil-node "$PROJECT_NAME" && cd "$PROJECT_NAME" && yarn && code .
For other IDEs replace code .
Run your code once.
yarn start
Your code will rerun when files change.
yarn dev
A template repo for simple Node.js projects.
Primarly focused on prototyping with Node.JS where the tools should not get in the way.
I use Node.JS a lot for small internal tools. Typescript is a must-have when working with data, and it's hassle remembering how to set it up each time to use modern JS features. Popular GitHub Node.JS templates try to be too helpful, and slow down dev.
This template has..
YES
Supports modern JS featuresYES
Typescript should just workYES
JS is allowed too, typescript is not forced
This template does not include..
NO
Aggressive lintingNO
Git hooks, vscode settings, or other annoying defaultsNO
Testing, just buildingNO
Messing with tsc build config