tldr: A repo where all the tooling is already configured (with sensible defaults) and you can simply copy it and start building.
I often have an idea and want to start building right away, but then setting up the project saps part of excitement away.
Additionally, if you're not used to setting up new projects, it can be overwhelming and it leads to not properly configured projects:
- You don't know which version of the Node you should use
- Too lenient TypeScript config (or as I like to call it JavaScript with extra steps)
- Where ESlint and Prettier don't work together
- Where poorly formatted code slips in because one developer uses Vim and doesn't use Prettier
- TypeScript 5+
- Reloading with Nodemon and ts-node
- Native ES modules enabled
- ESlint
- Prettier
- Husky for pre-commit hook and lint-staged to format only staged files
- Rimraf for production build and start
- Vitest for testing(Jest has ESM in experimental mode)
-
Copy the repo
-
npm install
-
npm run dev
to start the app in local developement
Inspired by Khalil Stemmler