Original Summary

Hey everyone, I’ve been working on StackForge — an open-source CLI that generates a pnpm monorepo with: • apps/web — Next.js (App Router), Tailwind, shadcn-style UI • apps/api — NestJS, Prisma, JWT auth, Swagger • packages/contracts — Zod schemas + types shared by API and web (so you’re not duplicating User types in three places) The idea is “production-shaped defaults” instead of a minimal demo: auth flow, user module, health check, env validation, unit + e2e tests on the API, and a generated GitHub Actions workflow. You pick SQLite or PostgreSQL, optional Docker Compose (API, web, Postgres, Prisma Studio on recent versions), and a preset: • dashboard — web + admin-style user pages • minimal — web without extra dashboard features • api — backend-only, no Next app Try it (current npm release 1.4.2): npx create-stackforge-app@1.4.2 my-app -y cd my-app pnpm run db:setup pnpm dev 1.4.2 is mostly about first-run reliability: Prisma client generation on install / predev, root pnpm run db:setup, and pnpm run doctor / pnpm run info via the bundled stackforge CLI so you can sanity-check paths, env, and versions in a generated project. Earlier 1.4.x also tightened Docker builds with the contracts package (multi-stage images, Studio in Compose for Postgres setups). Site: https://stack-forge.aitaouss.me/ Repo: https://github.com/Aitaouss/StackForge It’s MIT, I use it for my own SaaS-style starters, and I’m iterating in public. If you try it, I’d love feedback on: preset defaults, SQLite vs Postgres DX, and whether the contracts layer feels useful or overkill for your stack. Thanks for reading.   submitted by   /u/REDX0502 [link]   [comments]


  • 情报分类:商业与市场研究
  • 分类依据:内容涉及商业、投资或市场动态
  • 信息来源:Reddit · SideProject
  • 发布时间:2026/9/24 18:35:28