DEV Community

Andres2803
Andres2803

Posted on

Check out my new tool for cli to automate your npm

I built a CLI that remembers your stack preferences so you never configure the same project twice

GitHub: github.com/AndresDeC/stackr

Every time I started a new project I had to set up the same things: Next.js + Prisma + Auth.js + ESLint + Docker... over and over. So I built Stackr to fix that.

How it works:

First run — it asks you what you want:

◆ Stackr — scaffold your stack, your way

? Project name: my-app

? Framework: Next.js

? Database: Prisma + PostgreSQL

? Auth: Auth.js

? Testing: Vitest

? Extras: ESLint + Prettier, GitHub Actions


**Second run — it remembers:**

Enter fullscreen mode Exit fullscreen mode

? Project name: another-app

? Stack setup:

❯ Same as before (Next.js + Prisma + PostgreSQL + Auth.js + Vitest)

Different stack




**What it generates:**

- Clean project structure, no demo clutter (unlike create-next-app)

- .env.example with the right variables pre-filled

- Docker, GitHub Actions CI, Husky if you want them

- Preferences saved in ~/.stackr/config.json — local, no accounts, no cloud

**Supports:** Next.js, Express API, Node.js CLI tools

It's open source and on npm:
Enter fullscreen mode Exit fullscreen mode

Top comments (0)