JavaScriptStable
create-adorex
An npm CLI that creates an Express + TypeScript + Prisma + SQLite backend with one command: npm create adorex.
Result
It became the 2026 Web Dev class template, and about 30 to 40 students started their projects with it. Setting up the stack by hand takes 10 to 20 minutes at least (more if you're new). With adorex it's one command, plus the install and the Prisma migrate.
Built with
The problem
Setting up the same stack for every class project was repeated work, and students lost time on setup before they reached the database part of the course.
What I built
Solo. I built, tested, and published the CLI and its template.
How it works
- Asks for a project name (or takes one as an argument), and can create the project in the current folder.
- The new project has a running Express server with a health route, a Prisma schema on SQLite, environment settings, and scripts to run, typecheck, build, and start.
- Works with npm, pnpm, yarn, and bun, and starts a git repository for you.
Key decisions
- 01
A CLI, not a template repo
Students already knew npm create vite, so npm create adorex feels easy for them, and kind of premium. You could ask Vite the same thing: why not just a template repo?
- 02
Defaults match the class stack
Students start with Express, TypeScript, Prisma, and SQLite, a stack they already know from class. Everyone gets the same versions and folder setup, so their results match.
- 03
Test the generated app, not just the CLI
CI creates a real project on Ubuntu, macOS, and Windows with Node 22 and 24, then typechecks, builds, and starts it.
By the numbers
- 2,649 downloads on npm in the last year.
- 19 published versions since April 2026.
