create-fs-app 2.0.0 β†’ 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,524 +1,340 @@
1
- # Create Full-Stack App πŸš€
1
+ <div align="center">
2
+ <img src="./assets/logo-no-bg.png" alt="create-fs-app" width="500"/>
2
3
 
3
- A blazingly fast CLI tool for creating production-ready full-stack monorepo applications with your preferred tech stack.
4
+ **Stop configuring. Start building.**
4
5
 
5
- **NEW**: Template-based architecture for lightning-fast project creation!
6
+ Production-ready full-stack monorepo in 60 seconds.
6
7
 
7
- ![License](https://img.shields.io/npm/l/create-fs-app)
8
- ![Version](https://img.shields.io/npm/v/create-fs-app)
9
- ![Downloads](https://img.shields.io/npm/dm/create-fs-app)
8
+ [![npm version](https://img.shields.io/npm/v/create-fs-app.svg)](https://www.npmjs.com/package/create-fs-app)
9
+ [![npm downloads](https://img.shields.io/npm/dm/create-fs-app.svg)](https://www.npmjs.com/package/create-fs-app)
10
+ [![License: ISC](https://img.shields.io/npm/l/create-fs-app.svg)](https://opensource.org/licenses/ISC)
11
+ [![Node.js β‰₯18](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org)
12
+ </div>
10
13
 
11
- ## 🎬 Demo
12
-
13
- https://github.com/Om-jannu/create-fs-app/raw/master/assets/create-fs-app.mp4
14
-
15
- > Watch create-fs-app in action - from zero to full-stack app in seconds!
16
-
17
- ## ✨ Features
18
-
19
- ### πŸ—οΈ **Monorepo Frameworks**
20
- - **Turborepo** - High-performance build system with intelligent caching
21
- - **Nx** - Smart, extensible build framework with powerful dev tools
22
- - **Lerna** - Time-tested monorepo management
23
-
24
- ### 🎨 **Frontend Frameworks**
25
- - **React** (Vite) - Fast, modern React setup
26
- - **Next.js** - Production-ready React with SSR/SSG
27
- - **Vue** - Progressive JavaScript framework
28
- - **Nuxt** - Vue with SSR and great DX
29
- - **Angular** - Full-featured TypeScript framework
30
-
31
- ### πŸ› οΈ **Backend Frameworks**
32
- - **Express** - Minimal, flexible Node.js framework
33
- - **NestJS** - Enterprise-grade Node.js framework
34
- - **Fastify** - Lightning-fast web framework
35
- - **Koa** - Modern, elegant middleware framework
36
-
37
- ### πŸ’Ύ **Databases & ORMs**
38
- - **PostgreSQL** + Prisma/TypeORM/Drizzle
39
- - **MongoDB** + Mongoose
40
- - **MySQL** + Prisma/TypeORM
41
- - **SQLite** + Prisma
14
+ ---
42
15
 
43
- ### πŸ“¦ **Package Managers**
44
- - npm, yarn, pnpm
16
+ ## Table of Contents
45
17
 
46
- ### πŸ”§ **Included Out of the Box**
47
- - βœ… **TypeScript only** - All projects use TypeScript (no JavaScript)
48
- - βœ… Styling solutions (Tailwind, CSS Modules, Styled Components)
49
- - βœ… Testing frameworks (Jest, Vitest)
50
- - βœ… Docker & Docker Compose
51
- - βœ… ESLint + Prettier
52
- - βœ… GitHub Actions CI/CD templates
53
- - βœ… Shared packages support
18
+ - [Quick Start](#quick-start)
19
+ - [Interactive Wizard](#interactive-wizard)
20
+ - [Stack Flags](#stack-flags)
21
+ - [Official Templates](#official-templates)
22
+ - [Contributed Templates](#contributed-templates)
23
+ - [All CLI Options](#all-cli-options)
24
+ - [Presets](#presets)
25
+ - [Commands Reference](#commands-reference)
26
+ - [Local Development](#local-development)
27
+ - [Requirements](#requirements)
28
+ - [Contributing](#contributing)
54
29
 
55
- ## πŸš€ Quick Start
30
+ ---
56
31
 
57
- ### Interactive Mode (Recommended for First-Time Users)
32
+ ## Quick Start
58
33
 
59
34
  ```bash
35
+ # Interactive wizard β€” guides you through every choice
60
36
  npx create-fs-app my-app
61
- ```
62
-
63
- Follow the interactive prompts to customize your application.
64
-
65
- ### CLI Options Mode (Fast & Scriptable)
66
37
 
67
- Skip prompts by specifying your stack directly:
68
-
69
- ```bash
38
+ # Pick your stack and skip all prompts
70
39
  npx create-fs-app my-app \
71
- --monorepo turborepo \
72
40
  --frontend next.js \
73
- --backend nest.js \
41
+ --backend nest.js \
74
42
  --database postgresql \
75
- --orm prisma \
76
- --package-manager pnpm
43
+ --orm prisma \
44
+ --yes
45
+
46
+ # Use a saved preset
47
+ npx create-fs-app my-app --preset saas-starter
77
48
  ```
78
49
 
79
- βœ… Perfect for CI/CD, scripts, and when you know exactly what you want!
50
+ ---
80
51
 
81
- ### Direct Template Mode (Fastest)
52
+ ## Interactive Wizard
53
+
54
+ Running `npx create-fs-app <name>` without stack flags launches a guided wizard:
55
+
56
+ | Step | Options |
57
+ |------|---------|
58
+ | Monorepo tool | Turborepo, Nx |
59
+ | Frontend | Next.js, React (Vite), Vue, Nuxt, Angular |
60
+ | Backend | NestJS, Express, Fastify (TS), Koa |
61
+ | Database | PostgreSQL, MongoDB, MySQL, SQLite |
62
+ | ORM / ODM | Prisma, TypeORM, Mongoose, Drizzle |
63
+ | Package manager | npm, yarn, pnpm |
64
+ | Styling | Tailwind CSS, CSS, SCSS, styled-components |
65
+ | API style | REST, GraphQL, both |
66
+ | Auth scaffolding | None, JWT |
67
+ | Extras | ESLint, Prettier, Docker, Turbopack, GitHub Actions CI |
68
+
69
+ After selection the CLI:
70
+ 1. Fetches the best-matching official template from GitHub
71
+ 2. Renames every placeholder to your project name
72
+ 3. Initialises a git repository
73
+ 4. Installs dependencies with your chosen package manager
82
74
 
83
- Use a specific template by name:
75
+ ---
84
76
 
85
- ```bash
86
- # See all available templates
87
- npx create-fs-app list
77
+ ## Stack Flags
88
78
 
89
- # Get info about a specific template
90
- npx create-fs-app info turborepo-nextjs-nestjs-postgresql-prisma
79
+ Bypass the wizard by passing flags directly. Any flag you omit is prompted for (or uses the `--yes` default).
91
80
 
92
- # Use a specific template
93
- npx create-fs-app my-app --template turborepo-nextjs-nestjs-postgresql-prisma
81
+ ```bash
82
+ npx create-fs-app my-app \
83
+ --monorepo turborepo \
84
+ --frontend next.js \
85
+ --backend nest.js \
86
+ --database postgresql \
87
+ --orm prisma \
88
+ --styling tailwind \
89
+ --api-style rest \
90
+ --auth jwt \
91
+ --turbopack \
92
+ --ci \
93
+ --package-manager pnpm \
94
+ --yes
94
95
  ```
95
96
 
96
- ### Other Package Managers
97
+ ### Available values
97
98
 
98
- ```bash
99
- # Using yarn
100
- yarn create fs-app my-app
99
+ | Flag | Values |
100
+ |------|--------|
101
+ | `--monorepo` | `turborepo`, `nx` |
102
+ | `--frontend` | `next.js`, `react`, `vue`, `nuxt`, `angular` |
103
+ | `--backend` | `nest.js`, `express`, `fastify-ts`, `koa` |
104
+ | `--database` | `postgresql`, `mongodb`, `mysql`, `sqlite` |
105
+ | `--orm` | `prisma`, `typeorm`, `mongoose`, `drizzle` |
106
+ | `--package-manager` | `npm`, `yarn`, `pnpm` |
107
+ | `--styling` | `tailwind`, `css`, `scss`, `styled-components` |
108
+ | `--api-style` | `rest`, `graphql`, `both` |
109
+ | `--auth` | `none`, `jwt` |
101
110
 
102
- # Using pnpm
103
- pnpm create fs-app my-app
104
- ```
111
+ ---
105
112
 
106
- ### CLI Options Mode (Non-Interactive)
113
+ ## Official Templates
107
114
 
108
- Skip prompts by providing options directly:
115
+ Official templates are built and maintained by the create-fs-app team. The wizard and stack flags select from this set automatically.
109
116
 
110
- ```bash
111
- npx create-fs-app my-app \
112
- --monorepo turborepo \
113
- --frontend next.js \
114
- --backend nest.js \
115
- --database postgresql \
116
- --orm prisma
117
- ```
117
+ | Template | Stack |
118
+ |----------|-------|
119
+ | `turborepo-nextjs-nestjs-postgresql-prisma` | Next.js 16 + NestJS 11 + PostgreSQL 16 + Prisma 5 |
120
+ | `turborepo-nextjs-express-postgresql-prisma` | Next.js 15 + Express 4 + PostgreSQL 16 + Prisma 5 |
121
+ | `turborepo-nextjs-nestjs-mongodb-mongoose` | Next.js 16 + NestJS 11 + MongoDB 7 + Mongoose 8 |
122
+ | `turborepo-nextjs-express-mongodb-mongoose` | Next.js 15 + Express 4 + MongoDB 7 + Mongoose 8 |
123
+ | `turborepo-react-nestjs-postgresql-prisma` | React 19 (Vite) + NestJS 11 + PostgreSQL 16 + Prisma 5 |
124
+ | `turborepo-react-express-postgresql-prisma` | React 19 (Vite) + Express 4 + PostgreSQL 16 + Prisma 5 |
125
+ | `turborepo-react-nestjs-mongodb-mongoose` | React 19 (Vite) + NestJS 11 + MongoDB 7 + Mongoose 8 |
126
+ | `turborepo-react-express-mongodb-mongoose` | React 19 (Vite) + Express 4 + MongoDB 7 + Mongoose 8 |
118
127
 
119
- **All Available Options:**
128
+ Browse them:
120
129
 
121
130
  ```bash
122
- npx create-fs-app <project-name> [options]
123
-
124
- Stack Options:
125
- --monorepo <framework> Monorepo framework (turborepo, nx, lerna)
126
- --frontend <framework> Frontend (react, next.js, vue, nuxt, angular)
127
- --backend <framework> Backend (express, nest.js, fastify, koa)
128
- --database <db> Database (postgresql, mongodb, mysql, sqlite)
129
- --orm <orm> ORM (prisma, typeorm, mongoose, drizzle)
130
- --package-manager <pm> Package manager (npm, yarn, pnpm)
131
- --styling <solution> Styling (css, scss, tailwind, styled-components)
132
- --[no-]linting Enable linting (default: true)
133
- --[no-]docker Include Docker (default: true)
134
-
135
- Note: All projects use TypeScript by default (no JavaScript option)
136
-
137
- Template Options:
138
- -t, --template <name> Use a specific template directly
139
-
140
- Control Options:
141
- --no-git Skip git initialization
142
- --no-install Skip dependency installation
143
- -h, --help Display help
144
- -V, --version Display version
145
-
146
- Commands:
147
- list, ls List all available templates
148
- info <template> Show detailed template information
131
+ npx create-fs-app list
132
+ npx create-fs-app list graphql # keyword search
149
133
  ```
150
134
 
151
- **See [docs/CLI_USAGE.md](./docs/CLI_USAGE.md) for complete usage guide and examples.**
135
+ ---
152
136
 
153
- ## πŸ’‘ Usage Examples
137
+ ## Contributed Templates
154
138
 
155
- ### Example 1: SaaS Application
139
+ Community-built variants extend the official stacks with additional tooling (GraphQL, tRPC, Redis, Sentry, etc.).
140
+ Each contributed template is identified by a permanent **UUID v4**.
156
141
 
157
142
  ```bash
158
- npx create-fs-app my-saas \
159
- --monorepo turborepo \
160
- --frontend next.js \
161
- --backend nest.js \
162
- --database postgresql \
163
- --orm prisma \
164
- --package-manager pnpm
165
- ```
143
+ # Browse contributed templates β€” shows UUID and contributor
144
+ npx create-fs-app list --contributed
166
145
 
167
- ### Example 2: E-commerce Site
168
-
169
- ```bash
170
- npx create-fs-app my-shop \
171
- --monorepo nx \
172
- --frontend react \
173
- --backend express \
174
- --database mongodb \
175
- --orm mongoose \
176
- --styling tailwind
146
+ # Scaffold from a contributed template using its UUID
147
+ npx create-fs-app my-app --template bc75b4fb-3d42-4f6e-a8c1-0123456789ab
177
148
  ```
178
149
 
179
- ### Example 3: Blog/CMS
150
+ > **Why UUID?**
151
+ > Keys can be renamed or refactored; UUIDs are permanent. A UUID you copy today will always resolve to the same template.
180
152
 
181
- ```bash
182
- npx create-fs-app my-blog \
183
- --monorepo turborepo \
184
- --frontend vue \
185
- --backend nest.js \
186
- --database postgresql \
187
- --orm prisma
188
- ```
153
+ To add your own template to the contributed registry, see the [templates repo contributing guide](https://github.com/Om-jannu/create-fs-app-templates/blob/master/CONTRIBUTING.md).
189
154
 
190
- ### Example 4: CI/CD Pipeline
155
+ ---
191
156
 
192
- ```bash
193
- #!/bin/bash
194
- # Automated project creation
195
- npx create-fs-app $PROJECT_NAME \
196
- --monorepo turborepo \
197
- --frontend next.js \
198
- --backend nest.js \
199
- --database postgresql \
200
- --orm prisma \
201
- --no-git \
202
- --no-install
203
- ```
157
+ ## All CLI Options
204
158
 
205
- **See [docs/CLI_USAGE.md](./docs/CLI_USAGE.md) for more examples and advanced usage.**
159
+ ```
160
+ npx create-fs-app <project-name> [options]
206
161
 
207
- ## πŸ› οΈ Local Development
162
+ Stack selection
163
+ --monorepo <framework> turborepo | nx
164
+ --frontend <framework> next.js | react | vue | nuxt | angular
165
+ --backend <framework> nest.js | express | fastify-ts | koa
166
+ --database <db> postgresql | mongodb | mysql | sqlite
167
+ --orm <orm> prisma | typeorm | mongoose | drizzle
168
+
169
+ Customisation
170
+ --styling <style> tailwind | css | scss | styled-components
171
+ --api-style <style> rest | graphql | both (default: rest)
172
+ --auth <strategy> none | jwt (default: none)
173
+ --turbopack Enable Turbopack dev server (Next.js only)
174
+ --ci Add GitHub Actions CI workflow
175
+ --no-eslint Disable ESLint
176
+ --no-prettier Disable Prettier
177
+ --no-docker Skip Docker Compose
178
+
179
+ Template sources
180
+ --template <uuid> Use a contributed template by UUID v4
181
+ --template-url <url> Use any GitHub repo as a template source
182
+ --preset <name> Use a saved configuration preset
183
+
184
+ Behaviour
185
+ --package-manager <pm> npm | yarn | pnpm
186
+ --no-git Skip git initialization
187
+ --no-install Skip dependency installation
188
+ --no-cache Force fresh download, skip cache
189
+ -y, --yes Accept all defaults, skip prompts
190
+
191
+ Development
192
+ --local-templates <path> Use a local templates repo instead of GitHub
193
+ ```
208
194
 
209
- To run the CLI locally for testing and development:
195
+ ---
210
196
 
211
- ### Method 1: Using npm link (Recommended)
197
+ ## Presets
212
198
 
213
- This creates a global symlink so you can use `create-fs-app` anywhere:
199
+ Save a flag combination as a named preset and re-use it with a single word.
214
200
 
215
201
  ```bash
216
- # Install dependencies
217
- npm install
202
+ # Save a preset
203
+ npx create-fs-app preset save my-stack \
204
+ --description "NestJS + Next.js + PostgreSQL"
218
205
 
219
- # Build the project
220
- npm run build
206
+ # List all presets (built-ins + yours)
207
+ npx create-fs-app preset list
221
208
 
222
- # Create a global symlink
223
- npm link
209
+ # Use a preset
210
+ npx create-fs-app new-project --preset my-stack
224
211
 
225
- # Now you can use it anywhere!
226
- create-fs-app my-app
227
- # or
228
- create-fs-app my-app --template turborepo-nextjs-nestjs-postgresql-prisma
229
- ```
212
+ # Overwrite a preset
213
+ npx create-fs-app preset save my-stack --force
230
214
 
231
- To unlink later:
232
- ```bash
233
- npm unlink -g create-fs-app
215
+ # Delete a preset
216
+ npx create-fs-app preset delete my-stack
234
217
  ```
235
218
 
236
- ### Method 2: Direct Node Execution
219
+ ### Built-in presets (read-only)
237
220
 
238
- Run the compiled CLI directly:
221
+ | Name | Stack |
222
+ |------|-------|
223
+ | `saas-starter` | Next.js + NestJS + PostgreSQL + Prisma + JWT + Docker |
224
+ | `mern-stack` | React (Vite) + Express + MongoDB + Mongoose |
225
+ | `t3-inspired` | Next.js + NestJS + PostgreSQL + Prisma + GraphQL |
239
226
 
240
- ```bash
241
- # Build the project
242
- npm run build
227
+ ---
243
228
 
244
- # Run directly with node
245
- node dist/index.js my-app
229
+ ## Commands Reference
246
230
 
247
- # Or with options
248
- node dist/index.js my-app --template turborepo-nextjs-nestjs-postgresql-prisma
231
+ ### `list [search]`
249
232
 
250
- # List templates
251
- node dist/index.js list
233
+ ```bash
234
+ npx create-fs-app list # official templates
235
+ npx create-fs-app list --contributed # community templates
236
+ npx create-fs-app list --all # both sections
237
+ npx create-fs-app list graphql # keyword search
252
238
  ```
253
239
 
254
- ### Method 3: Watch Mode for Development
240
+ ### `info <template>`
255
241
 
256
- For active development with auto-rebuild:
242
+ Show full details for any template.
257
243
 
258
244
  ```bash
259
- # Terminal 1: Watch for changes and rebuild
260
- npm run dev
261
-
262
- # Terminal 2: Run the CLI (rebuilds automatically)
263
- node dist/index.js my-app
245
+ npx create-fs-app info turborepo-nextjs-nestjs-postgresql-prisma
246
+ npx create-fs-app info graphql
264
247
  ```
265
248
 
266
- ### Method 4: Using npx with local path
249
+ ### `preset <subcommand>`
267
250
 
268
251
  ```bash
269
- # Build first
270
- npm run build
271
-
272
- # Run with npx pointing to local dist
273
- npx ./dist/index.js my-app
252
+ npx create-fs-app preset list
253
+ npx create-fs-app preset save <name> [--description "..."] [--force]
254
+ npx create-fs-app preset delete <name>
274
255
  ```
275
256
 
276
- ### Testing Your Changes
277
-
278
- 1. Make changes to source files in `src/`
279
- 2. Run `npm run build` (or `npm run dev` for watch mode)
280
- 3. Test with one of the methods above
281
- 4. Test different scenarios:
282
- ```bash
283
- # Interactive mode
284
- create-fs-app test-app
285
-
286
- # CLI options mode
287
- create-fs-app test-app --monorepo turborepo --frontend next.js
288
-
289
- # Template mode
290
- create-fs-app test-app --template turborepo-nextjs-nestjs-postgresql-prisma
291
-
292
- # List templates
293
- create-fs-app list
294
- ```
295
-
296
- ## Requirements
297
-
298
- - Node.js 16.0.0 or later
299
- - npm 7+ or yarn 1.22+ or pnpm 7+
300
-
301
- ## Project Structure
257
+ ### `health`
302
258
 
303
- The generated project will have the following structure:
259
+ Verify your environment is ready.
304
260
 
261
+ ```bash
262
+ npx create-fs-app health
305
263
  ```
306
- my-app/
307
- β”œβ”€β”€ apps/
308
- β”‚ β”œβ”€β”€ frontend/ # Frontend application
309
- β”‚ β”‚ β”œβ”€β”€ src/
310
- β”‚ β”‚ └── package.json
311
- β”‚ └── backend/ # Backend application
312
- β”‚ β”œβ”€β”€ src/
313
- β”‚ └── package.json
314
- β”œβ”€β”€ packages/
315
- β”‚ └── shared/ # Shared utilities and components
316
- β”œβ”€β”€ package.json # Root package.json
317
- └── README.md
318
- ```
319
-
320
- ## Configuration Options
321
-
322
- ### Monorepo Frameworks
323
-
324
- - **Turborepo**: High-performance build system with task caching
325
- - **Nx**: Smart and extensible build framework
326
- - **Lerna**: Original monorepo management tool
327
-
328
- ### Frontend Frameworks
329
-
330
- - **React**: Popular UI library with Vite setup
331
- - **Next.js**: Full-featured React framework with SSR
332
- - **Vue**: Progressive JavaScript framework
333
- - **Nuxt**: Vue.js framework with SSR support
334
- - **Angular**: Full-featured TypeScript framework
335
264
 
336
- ### Backend Frameworks
265
+ Checks: **Node.js β‰₯ 18**, **Git**, **Docker** (binary + daemon), **npm**, **pnpm**, **yarn**.
337
266
 
338
- - **Express**: Minimal Node.js web framework
339
- - **NestJS**: Progressive Node.js framework
340
- - **Fastify**: Fast and low overhead framework
341
- - **Koa**: Modern middleware framework
342
-
343
- ### Database Options
344
-
345
- - **MongoDB**: NoSQL database
346
- - **PostgreSQL**: Advanced SQL database
347
- - **MySQL**: Popular SQL database
348
- - **SQLite**: Lightweight SQL database
349
-
350
- ### ORM Options
351
-
352
- - **Prisma**: Modern database toolkit
353
- - **TypeORM**: TypeScript ORM
354
- - **Mongoose**: MongoDB ODM
355
- - **Drizzle**: Lightweight SQL ORM
356
-
357
- ## Scripts
358
-
359
- Common scripts available in generated projects:
267
+ ### `cache <subcommand>`
360
268
 
361
269
  ```bash
362
- # Development
363
- npm run dev # Start development servers
364
-
365
- # Building
366
- npm run build # Build all applications
367
-
368
- # Testing
369
- npm run test # Run tests across applications
370
-
371
- # Linting
372
- npm run lint # Lint all applications
270
+ npx create-fs-app cache stats # show cache size and template count
271
+ npx create-fs-app cache clear # wipe cached templates
373
272
  ```
374
273
 
375
- ## Docker Support
376
-
377
- If you choose Docker support, your project will include:
378
-
379
- - `Dockerfile` for containerization
380
- - `.dockerignore` for excluding files
381
- - Docker Compose setup for development
382
-
383
- ## πŸ—οΈ How It Works
384
-
385
- `create-fs-app` uses a **template-based architecture** for lightning-fast project creation:
386
-
387
- 1. **Choose your stack** - Select frameworks via interactive prompts or CLI options
388
- 2. **Template matching** - CLI finds the perfect pre-built template
389
- 3. **Clone & customize** - Template is cloned from GitHub and customized with your project name
390
- 4. **Ready to code** - Complete, working application in seconds
391
-
392
- ### Why Template-Based?
274
+ Cache location: `~/.create-fs-app/`
393
275
 
394
- - ⚑ **Fast** - Clone instead of generate (10x faster with caching)
395
- - 🎯 **Tested** - Every template is a real, working project
396
- - πŸ”„ **Up-to-date** - Templates maintained in separate repository
397
- - 🀝 **Community** - Easy for anyone to contribute templates
398
- - πŸ“¦ **Lightweight** - CLI stays tiny (39.5 KB compressed)
399
-
400
- ## πŸ“š Documentation
401
-
402
- - **[CLI Usage Guide](./docs/CLI_USAGE.md)** - Complete CLI reference and examples
403
- - **[Quick Reference](./docs/QUICK_REFERENCE.md)** - Quick command reference
404
- - **[Template Contribution Guide](./docs/TEMPLATE_CONTRIBUTION_GUIDE.md)** - How to create templates
405
- - **[Contributing](./CONTRIBUTING.md)** - Contribution guidelines
406
- - **[Changelog](./CHANGELOG.md)** - Version history
407
-
408
- ## 🀝 Contributing
409
-
410
- We welcome contributions! There are many ways to help:
411
-
412
- ### 1. Create New Templates
413
-
414
- The fastest way to contribute! Create templates for popular stack combinations.
415
-
416
- See the **[Template Creation Guide](./docs/TEMPLATE_CONTRIBUTION_GUIDE.md)** to get started.
417
-
418
- ### 2. Improve the CLI
419
-
420
- - Report bugs
421
- - Suggest features
422
- - Submit PRs
423
- - Improve documentation
276
+ ---
424
277
 
425
- See **[WORKFLOW.md](./WORKFLOW.md)** for the complete development workflow.
278
+ ## Local Development
426
279
 
427
- **Quick start:**
428
280
  ```bash
429
- # 1. Fork and clone
430
- git clone https://github.com/YOUR_USERNAME/create-fs-app.git
281
+ # 1. Clone
282
+ git clone https://github.com/Om-jannu/create-fs-app.git
283
+ cd create-fs-app
431
284
 
432
- # 2. Create feature branch
433
- git checkout -b feat/my-feature
285
+ # 2. Install
286
+ npm install
434
287
 
435
- # 3. Make changes and test
436
- npm run dev
288
+ # 3. Build (TypeScript β†’ dist/)
289
+ npm run build
437
290
 
438
- # 4. Bump version
439
- ./scripts/bump-version.sh minor
291
+ # 4. Link globally
292
+ npm link
440
293
 
441
- # 5. Update CHANGELOG.md
294
+ # 5. Test
295
+ create-fs-app my-test-app
442
296
 
443
- # 6. Create PR
444
- # GitHub Actions will automatically publish when merged!
297
+ # 6. Unlink when done
298
+ npm unlink -g create-fs-app
445
299
  ```
446
300
 
447
- ### 3. Share & Star
448
-
449
- - Star this repo ⭐
450
- - Share with your network
451
- - Write blog posts
452
- - Create video tutorials
301
+ ### Point at a local templates repo
453
302
 
454
- ## License
455
-
456
- This project is licensed under the ISC License - see the [LICENSE](LICENSE) file for details.
457
-
458
- ## Support
459
-
460
- - πŸ“š [Documentation](https://github.com/Om-jannu/create-fs-app/wiki)
461
- - πŸ› [Issue Tracker](https://github.com/Om-jannu/create-fs-app/issues)
462
- - πŸ’¬ [Discussions](https://github.com/Om-jannu/create-fs-app/discussions)
463
-
464
- ## πŸ—ΊοΈ Roadmap
465
-
466
- ### Phase 1 (Current - v0.1.0)
467
- - [x] Template-based architecture
468
- - [x] Interactive CLI with beautiful prompts
469
- - [x] CLI options mode for automation
470
- - [x] Template caching system (10x faster)
471
- - [x] Configuration presets
472
- - [x] Custom template URLs
473
- - [x] Project health check
474
- - [x] Comprehensive error handling
475
- - [x] Replaced inquirer with prompts (lighter)
476
- - [ ] Create 10+ core templates
477
-
478
- ### Phase 2 (Next)
479
- - [ ] Separate templates repository
480
- - [ ] Website for template browsing
481
- - [ ] 25+ templates covering popular stacks
482
- - [ ] Community template contributions
483
- - [ ] Template versioning
484
-
485
- ### Phase 3 (Future)
486
- - [ ] Template marketplace
487
- - [ ] VS Code extension
488
- - [ ] Project migration tool
489
- - [ ] Interactive template builder
490
-
491
- ## 🌟 Showcase
303
+ ```bash
304
+ git clone https://github.com/Om-jannu/create-fs-app-templates.git ../create-fs-app-templates
492
305
 
493
- Built something cool with `create-fs-app`? We'd love to feature it!
306
+ create-fs-app my-app \
307
+ --frontend next.js --backend nest.js --database postgresql --orm prisma \
308
+ --local-templates ../create-fs-app-templates \
309
+ --yes
310
+ ```
494
311
 
495
- Open an issue with your project link.
312
+ This skips GitHub entirely and copies the template straight from your local clone.
496
313
 
497
- ## πŸ“Š Stats
314
+ ---
498
315
 
499
- ![GitHub Stars](https://img.shields.io/github/stars/Om-jannu/create-fs-app?style=social)
500
- ![NPM Downloads](https://img.shields.io/npm/dm/create-fs-app)
501
- ![GitHub Issues](https://img.shields.io/github/issues/Om-jannu/create-fs-app)
316
+ ## Requirements
502
317
 
503
- ## πŸ’– Acknowledgments
318
+ | Tool | Minimum version |
319
+ |------|----------------|
320
+ | Node.js | **18.0.0** |
321
+ | npm | bundled with Node.js |
322
+ | Git | any recent |
323
+ | Docker | optional β€” used inside generated projects only |
504
324
 
505
- Special thanks to all contributors and the open-source community!
325
+ ---
506
326
 
507
- Inspired by:
508
- - [create-react-app](https://github.com/facebook/create-react-app)
509
- - [create-next-app](https://github.com/vercel/next.js/tree/canary/packages/create-next-app)
510
- - [create-t3-app](https://github.com/t3-oss/create-t3-app)
327
+ ## Contributing
511
328
 
512
- ## πŸ“„ License
329
+ See **[CONTRIBUTING.md](./CONTRIBUTING.md)** for:
513
330
 
514
- ISC License - see [LICENSE](./LICENSE) file for details
331
+ - Reporting bugs and requesting features
332
+ - Development environment setup
333
+ - Pull request process and code standards
334
+ - How to contribute a template to the community registry
515
335
 
516
336
  ---
517
337
 
518
- <p align="center">
519
- Made with ❀️ by <a href="https://github.com/Om-jannu">Om Jannu</a>
520
- </p>
338
+ ## License
521
339
 
522
- <p align="center">
523
- <sub>If this tool helped you, please consider starring ⭐ the repo!</sub>
524
- </p>
340
+ ISC Β© [Om-jannu](https://github.com/Om-jannu)