mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Add runtime selection feature between Bun and Node.js
This commit is contained in:
@@ -19,6 +19,7 @@ Follow the prompts to configure your project.
|
||||
- **Monorepo**: Turborepo for optimized build system and workspace management
|
||||
- **Frontend**: React, TanStack Router, TanStack Query, Tailwind CSS with shadcn/ui components
|
||||
- **Backend**: Hono, tRPC
|
||||
- **Runtime Options**: Choose between Bun or Node.js for your server
|
||||
- **Database Options**: SQLite (via Turso), PostgreSQL, or no database
|
||||
- **ORM Selection**: Choose between Drizzle ORM or Prisma
|
||||
- **Authentication**: Optional auth setup with Better-Auth
|
||||
@@ -60,6 +61,7 @@ Options:
|
||||
--no-install Skip installing dependencies
|
||||
--turso Set up Turso for SQLite database (default with sqlite)
|
||||
--no-turso Skip Turso setup for SQLite database
|
||||
--runtime <runtime> Specify runtime (bun or node)
|
||||
-h, --help Display help
|
||||
```
|
||||
|
||||
@@ -75,6 +77,11 @@ Create a project with specific options:
|
||||
npx create-better-t-stack my-app --postgres --prisma --auth --pwa --biome
|
||||
```
|
||||
|
||||
Create a project with Node.js runtime:
|
||||
```bash
|
||||
npx create-better-t-stack my-app --runtime node
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
Reference in New Issue
Block a user