Case study · Scafffolder CLI
Side projectProject period2023
Faster project starts
Automated React and Node project structure, including the files and boilerplate needed to begin.
01
Why
Every new project needed the same folders, files and packages.
02
Decision
A Node CLI with init and list commands. It asks for the project name and the packages you want, then generates a React project with a best-practices folder structure, with or without TypeScript, Tailwind, Redux and routing. Node templates are marked as coming soon.
03
Trade-offs
The templates have to be kept up to date with current best practices and package versions, and that is ongoing work.
04
Outcome
Published on npm, and it is how I start my own projects.