@@ -34,7 +34,7 @@ Follow the prompts to configure your project or use the `-y` flag for defaults.
34
34
- ** Desktop Apps** : Build native desktop apps with Tauri integration
35
35
- ** Code Quality** : Biome for linting and formatting
36
36
- ** Git Hooks** : Husky with lint-staged for pre-commit checks
37
- - ** Examples** : Todo app with full CRUD functionality
37
+ - ** Examples** : Todo app with full CRUD functionality, AI Chat using AI SDK
38
38
- ** Developer Experience** : Git initialization, various package manager support (npm, pnpm, bun)
39
39
40
40
## Usage
@@ -43,39 +43,27 @@ Follow the prompts to configure your project or use the `-y` flag for defaults.
43
43
Usage: create-better-t-stack [project-directory] [options]
44
44
45
45
Options:
46
- -V, --version Output the version number
47
- -y, --yes Use default configuration
48
- --no-database Skip database setup
49
- --sqlite Use SQLite database
50
- --postgres Use PostgreSQL database
51
- --auth Include authentication
52
- --no-auth Exclude authentication
53
- --pwa Include Progressive Web App support
54
- --tauri Include Tauri desktop app support
55
- --biome Include Biome for linting and formatting
56
- --husky Include Husky, lint-staged for Git hooks
57
- --no-addons Skip all additional addons
58
- --examples < examples> Include specified examples
59
- --no-examples Skip all examples
60
- --git Include git setup (default)
61
- --no-git Skip git initialization
62
- --npm Use npm as package manager
63
- --pnpm Use pnpm as package manager
64
- --bun Use bun as package manager
65
- --drizzle Use Drizzle ORM
66
- --prisma Use Prisma ORM
67
- --install Install dependencies (default)
68
- --no-install Skip installing dependencies
69
- --turso Set up Turso for SQLite database
70
- --no-turso Skip Turso setup for SQLite database
71
- --hono Use Hono backend framework (default)
72
- --elysia Use Elysia backend framework
73
- --runtime < runtime> Specify runtime (bun or node)
74
- --web Include web frontend (default)
75
- --native Include Expo frontend
76
- --no-web Exclude web frontend
77
- --no-native Exclude Expo frontend
78
- -h, --help Display help
46
+ -V, --version Output the version number
47
+ -y, --yes Use default configuration
48
+ --database < type> Database type (none, sqlite, postgres)
49
+ --orm < type> ORM type (none, drizzle, prisma)
50
+ --auth Include authentication
51
+ --no-auth Exclude authentication
52
+ --frontend < types> Frontend types (web,native or both)
53
+ --addons < types> Additional addons (pwa,tauri,biome,husky)
54
+ --no-addons Skip all additional addons
55
+ --examples < types> Examples to include (todo,ai)
56
+ --no-examples Skip all examples
57
+ --git Initialize git repository
58
+ --no-git Skip git initialization
59
+ --package-manager < pm> Package manager (npm, pnpm, bun)
60
+ --install Install dependencies
61
+ --no-install Skip installing dependencies
62
+ --turso Set up Turso for SQLite database
63
+ --no-turso Skip Turso setup
64
+ --backend < framework> Backend framework (hono, elysia)
65
+ --runtime < runtime> Runtime (bun, node)
66
+ -h, --help Display help
79
67
```
80
68
81
69
## Examples
@@ -87,17 +75,20 @@ npx create-better-t-stack my-app -y
87
75
88
76
Create a project with specific options:
89
77
``` bash
90
- npx create-better-t-stack my-app --postgres --drizzle --auth --pwa -- biome
78
+ npx create-better-t-stack my-app --database postgres --orm drizzle --auth --addons pwa, biome
91
79
```
92
80
93
81
Create a project with Elysia and Node.js runtime:
94
82
``` bash
95
- npx create-better-t-stack my-app --elysia --runtime node
83
+ npx create-better-t-stack my-app --backend elysia --runtime node
96
84
```
97
85
98
- Create a project using Hono with no addons :
86
+ Create a project with specific frontend options :
99
87
``` bash
100
- npx create-better-t-stack my-app --hono --no-addons
88
+ npx create-better-t-stack my-app --frontend web,native
101
89
```
102
90
103
- Created by [ Aman Varshney] ( https://github.com/AmanVarshney01 ) & [ Nitish Singh] ( https://github.com/FgrReloaded )
91
+ Create a project with examples:
92
+ ``` bash
93
+ npx create-better-t-stack my-app --examples todo,ai
94
+ ```
0 commit comments