An opinionated scaffolder for my full stack web projects.
This is the project generator I use as a starting point for my own apps, including thomaslorincz.com and many of my portfolio projects. It will evolve over time as my preferred stack, defaults, and project patterns change.
The generated app is a full stack Bun workspace with a Vite React frontend and a Cloudflare Worker backend. It is designed to be developed locally and deployed to Cloudflare Workers.
The generated project includes:
- A React + Vite + TypeScript frontend.
- A Cloudflare Workers backend using Hono.
- Drizzle ORM configured for PostgreSQL.
- Wrangler configuration for local development and deployment.
- Bun workspace scripts for development, formatting, linting, and deployment.
- Cursor-friendly project defaults, including a generated
.cursorrulesfile.
bun create @thomaslorincz/project my-projectmy-project/
├── .cursorrules
├── .gitignore
├── .oxfmtrc.json
├── .oxlintrc.json
├── .vscode/
│ ├── extensions.json
│ └── settings.json
├── bunfig.toml
├── package.json
├── README.md
├── frontend/
│ ├── .oxlintrc.json
│ ├── index.html
│ ├── package.json
│ ├── tsconfig.app.json
│ ├── tsconfig.json
│ ├── tsconfig.node.json
│ ├── vite.config.ts
│ └── src/
│ ├── App.tsx
│ ├── index.css
│ └── main.tsx
└── backend/
├── .dev.vars
├── drizzle.config.ts
├── package.json
├── tsconfig.json
├── worker-configuration.d.ts
├── wrangler.jsonc
├── db/
│ └── migrations/
└── src/
├── index.ts
├── middleware.ts
├── schema.ts
├── types.ts
└── routers/
└── health.ts
worker-configuration.d.ts is generated by Wrangler after dependencies are
installed.
- An option to choose between shadcn/ui and a bespoke plain Tailwind CSS setup.
- An option to generate Python/ML container scaffolding.
- An option to include MapLibre.
- An option to include React Three Fiber.