rapidkit 0.23.1 → 0.25.0
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/LICENSE +1 -1
- package/README.md +123 -721
- package/dist/chunk-D46IWAXH.js +33 -0
- package/dist/chunk-FXRDNZGB.js +1 -0
- package/dist/{chunk-7LU4Z66R.js → chunk-N64Z3XVF.js} +2 -2
- package/dist/chunk-T62GANVU.js +786 -0
- package/dist/create-EFY5NQWP.js +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +317 -974
- package/dist/package.json +16 -4
- package/dist/{pythonRapidkitExec-YIFUZLND.js → pythonRapidkitExec-7LPE3JUQ.js} +1 -1
- package/dist/{workspace-LZZGJRGV.js → workspace-J5UUDMHW.js} +52 -49
- package/package.json +13 -3
- package/dist/chunk-74G6C57B.js +0 -24
package/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
# RapidKit NPM CLI
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
### Build Production-Ready APIs in Seconds
|
|
3
|
+
### RapidKit is an open-source workspace platform that standardizes how teams build, scale, and deploy backend services.
|
|
6
4
|
|
|
7
5
|
FastAPI, NestJS, Go/Fiber, and Go/Gin scaffolding with production-ready defaults.
|
|
8
6
|
**27+ plug-and-play modules** are available for FastAPI & NestJS projects.
|
|
@@ -13,796 +11,200 @@ Clean architecture • Zero boilerplate • Instant deployment.
|
|
|
13
11
|
[](https://opensource.org/licenses/MIT)
|
|
14
12
|
[](https://github.com/getrapidkit/rapidkit-npm/stargazers)
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
# 1. Create a workspace — shared Python env for all your projects
|
|
18
|
-
npx rapidkit init
|
|
19
|
-
cd my-workspace
|
|
14
|
+
Official CLI for creating and operating RapidKit workspaces and projects.
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
- Workspace-first lifecycle (`create workspace` → `bootstrap` → `setup` → `create project`)
|
|
17
|
+
- Multi-runtime support (Python, Node.js, Go)
|
|
18
|
+
- Profile + policy enforcement (`warn` / `strict`)
|
|
19
|
+
- Cache and mirror lifecycle commands for stable environments
|
|
24
20
|
|
|
25
|
-
|
|
26
|
-
npx rapidkit init && npx rapidkit dev
|
|
27
|
-
# ✅ Production-ready API running at http://localhost:8000
|
|
28
|
-
```
|
|
21
|
+
## Requirements
|
|
29
22
|
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
- Node.js `>= 20.19.6`
|
|
24
|
+
- Python `>= 3.10` (for Python/Core workflows)
|
|
25
|
+
- Go (optional, for Go projects)
|
|
32
26
|
|
|
33
|
-
|
|
27
|
+
## Install
|
|
34
28
|
|
|
35
29
|
```bash
|
|
36
|
-
|
|
30
|
+
npm install -g rapidkit
|
|
37
31
|
```
|
|
38
|
-
Using Python/FastAPI? Use these direct kit commands (inside or outside a workspace):
|
|
39
|
-
```bash
|
|
40
|
-
npx rapidkit create project fastapi.standard my-service # standard kit
|
|
41
|
-
npx rapidkit create project fastapi.ddd my-service # DDD kit
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Using Go? Use these direct kit commands (inside or outside a workspace):
|
|
45
|
-
```bash
|
|
46
|
-
npx rapidkit create project gofiber.standard my-service # Go Fiber standard kit
|
|
47
|
-
npx rapidkit create project gogin.standard my-service # Go Gin standard kit
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
> ℹ️ **Module support note:** `npx rapidkit add module ...` is currently supported for **FastAPI** and **NestJS** projects only.
|
|
51
|
-
> Go kits (`gofiber.standard`, `gogin.standard`) do not support RapidKit modules in this release.
|
|
52
32
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
### 👉 Get Started in 30 Seconds
|
|
58
|
-
|
|
59
|
-
No account. No config. No pain. Just build.
|
|
60
|
-
|
|
61
|
-
[📖 Read Full Docs](https://getrapidkit.com) • [🎥 Watch Demo](https://www.youtube.com/watch?v=demo) • [⭐ Star on GitHub](https://github.com/getrapidkit/rapidkit-npm)
|
|
62
|
-
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
## ⚡ Why RapidKit?
|
|
68
|
-
|
|
69
|
-
| 🚀 **Instant Setup** | 🧩 **Modular By Design** | 🎯 **Production-Ready** |
|
|
70
|
-
|-------------------------------|-------------------------------|--------------------------------|
|
|
71
|
-
| Project in 30 seconds | 27+ plug-and-play modules | Docker + CI/CD included |
|
|
72
|
-
| Zero configuration needed | Add features in 1 command | Best practices baked in |
|
|
73
|
-
| FastAPI, NestJS & Go kits | Auth/DB/Cache modules (Python/Node kits) | Clean architecture guaranteed |
|
|
74
|
-
|
|
75
|
-
### 🔥 From This...
|
|
33
|
+
Or run directly with `npx`:
|
|
76
34
|
|
|
77
35
|
```bash
|
|
78
|
-
|
|
79
|
-
python -m venv .venv && source .venv/bin/activate
|
|
80
|
-
pip install fastapi uvicorn sqlalchemy alembic pydantic redis...
|
|
81
|
-
# Create project structure manually
|
|
82
|
-
# Configure Docker, CI/CD, testing...
|
|
83
|
-
# Write boilerplate code...
|
|
84
|
-
# ... 2 hours later
|
|
36
|
+
npx rapidkit --help
|
|
85
37
|
```
|
|
86
38
|
|
|
87
|
-
|
|
39
|
+
All three commands above render the same root help output.
|
|
88
40
|
|
|
89
|
-
|
|
90
|
-
npx rapidkit create project fastapi.standard my-api
|
|
91
|
-
cd my-api && npx rapidkit init && npx rapidkit dev
|
|
92
|
-
# ✅ Done in 30 seconds!
|
|
93
|
-
```
|
|
41
|
+
## Quick Start (Recommended)
|
|
94
42
|
|
|
95
|
-
|
|
96
|
-
- ✅ Production-ready project structure
|
|
97
|
-
- ✅ Docker & docker-compose configured
|
|
98
|
-
- ✅ GitHub Actions CI/CD pipeline
|
|
99
|
-
- ✅ Testing & linting setup
|
|
100
|
-
- ✅ Environment configuration
|
|
101
|
-
- ✅ Hot reload development server
|
|
102
|
-
- ✅ Best practices & clean architecture
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
## 📦 Table of Contents
|
|
108
|
-
|
|
109
|
-
- [Why RapidKit?](#-why-rapidkit)
|
|
110
|
-
- [Quick Start](#-quick-start)
|
|
111
|
-
- [Core Concepts](#-core-concepts)
|
|
112
|
-
- [Module Ecosystem](#-module-ecosystem)
|
|
113
|
-
- [Commands Reference](#-commands-reference)
|
|
114
|
-
- [Requirements](#-requirements)
|
|
115
|
-
- [FAQs](#-faqs)
|
|
116
|
-
- [Links](#-links)
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## 🚀 Quick Start
|
|
121
|
-
|
|
122
|
-
### Option 0: Fastest Start (`npx rapidkit init`)
|
|
123
|
-
|
|
124
|
-
Use this when you want the quickest complete flow (workspace + project + run):
|
|
43
|
+
### 1) Create a workspace
|
|
125
44
|
|
|
126
45
|
```bash
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
# Creates my-workspace/ with a shared Python environment
|
|
130
|
-
npx rapidkit init
|
|
46
|
+
npx rapidkit create workspace my-workspace --yes --profile polyglot
|
|
131
47
|
cd my-workspace
|
|
132
|
-
|
|
133
|
-
# Scaffold a project (interactive, or pass kit + name directly)
|
|
134
|
-
npx rapidkit create project fastapi.standard my-api
|
|
135
|
-
cd my-api
|
|
136
|
-
|
|
137
|
-
# Install project deps & start dev server
|
|
138
|
-
npx rapidkit init && npx rapidkit dev
|
|
139
|
-
# ✅ http://localhost:8000
|
|
140
48
|
```
|
|
141
49
|
|
|
142
|
-
|
|
143
|
-
`npx rapidkit init` is context-aware and auto-detects plain folders, workspace roots, and project directories.
|
|
144
|
-
|
|
145
|
-
**Why workspace?** All projects under `my-workspace/` share one Python virtualenv — so adding a second or third service costs almost no extra disk space, and the RapidKit Core version stays consistent across all of them.
|
|
146
|
-
|
|
147
|
-
Prefer direct kit selection (works both inside and outside a workspace):
|
|
50
|
+
### 2) Bootstrap and setup runtimes
|
|
148
51
|
|
|
149
52
|
```bash
|
|
150
|
-
npx rapidkit
|
|
151
|
-
npx rapidkit
|
|
152
|
-
npx rapidkit
|
|
153
|
-
npx rapidkit
|
|
154
|
-
npx rapidkit create project gogin.standard my-service
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
Interactive kit picker (`npx rapidkit create project`) includes:
|
|
158
|
-
|
|
159
|
-
```text
|
|
160
|
-
1) fastapi — FastAPI Standard Kit
|
|
161
|
-
2) fastapi — FastAPI DDD Kit
|
|
162
|
-
3) nestjs — NestJS Standard Kit
|
|
163
|
-
4) go/fiber — Go Fiber Standard Kit
|
|
164
|
-
5) go/gin — Go Gin Standard Kit
|
|
53
|
+
npx rapidkit bootstrap --profile polyglot
|
|
54
|
+
npx rapidkit setup python
|
|
55
|
+
npx rapidkit setup node --warm-deps
|
|
56
|
+
npx rapidkit setup go --warm-deps
|
|
165
57
|
```
|
|
166
58
|
|
|
167
|
-
###
|
|
168
|
-
|
|
169
|
-
Perfect for trying out RapidKit or building a standalone service:
|
|
59
|
+
### 3) Create projects
|
|
170
60
|
|
|
171
|
-
**FastAPI:**
|
|
172
61
|
```bash
|
|
173
|
-
|
|
174
|
-
npx rapidkit create project
|
|
175
|
-
|
|
176
|
-
# Start developing
|
|
177
|
-
cd my-api
|
|
178
|
-
npx rapidkit init # Install dependencies
|
|
179
|
-
npx rapidkit dev # Start dev server → http://localhost:8000
|
|
180
|
-
|
|
181
|
-
# Add modules as needed
|
|
182
|
-
npx rapidkit add module auth
|
|
183
|
-
npx rapidkit add module db_postgres
|
|
62
|
+
npx rapidkit create project fastapi.standard my-api --yes --skip-install
|
|
63
|
+
npx rapidkit create project nestjs.standard my-nest --yes --skip-install
|
|
64
|
+
npx rapidkit create project gofiber.standard my-fiber --yes --skip-install
|
|
184
65
|
```
|
|
185
66
|
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
# Create project
|
|
189
|
-
npx rapidkit create project nestjs.standard my-service
|
|
67
|
+
## Core Commands
|
|
190
68
|
|
|
191
|
-
|
|
192
|
-
cd my-service
|
|
193
|
-
npx rapidkit init # Install dependencies
|
|
194
|
-
npx rapidkit dev # Start dev server → http://localhost:3000
|
|
69
|
+
### Workspace lifecycle
|
|
195
70
|
|
|
196
|
-
# Add modules as needed
|
|
197
|
-
npx rapidkit add module auth
|
|
198
|
-
npx rapidkit add module db_postgres
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
**Go (Fiber/Gin):**
|
|
202
71
|
```bash
|
|
203
|
-
#
|
|
204
|
-
npx rapidkit create
|
|
205
|
-
|
|
206
|
-
npx rapidkit
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
npx rapidkit
|
|
211
|
-
npx rapidkit dev # Start dev server with hot reload
|
|
72
|
+
npx rapidkit create # Prompts: workspace | project
|
|
73
|
+
npx rapidkit create workspace <name> [--profile <profile>] [--author <name>] [--yes]
|
|
74
|
+
npx rapidkit bootstrap [--profile <profile>] [--json]
|
|
75
|
+
npx rapidkit setup <python|node|go> [--warm-deps]
|
|
76
|
+
npx rapidkit workspace policy show
|
|
77
|
+
npx rapidkit workspace policy set <key> <value>
|
|
78
|
+
npx rapidkit doctor workspace [--fix]
|
|
79
|
+
npx rapidkit workspace list # Display all workspaces created on this system
|
|
212
80
|
```
|
|
213
81
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
### Option 2: Workspace (Recommended for Multiple Projects)
|
|
217
|
-
|
|
218
|
-
Organize multiple microservices with a shared environment:
|
|
82
|
+
### Project lifecycle
|
|
219
83
|
|
|
220
84
|
```bash
|
|
221
|
-
|
|
222
|
-
npx rapidkit
|
|
223
|
-
|
|
224
|
-
npx rapidkit
|
|
225
|
-
|
|
226
|
-
npx rapidkit
|
|
227
|
-
cd my-workspace
|
|
228
|
-
|
|
229
|
-
# 2. Activate environment (choose one):
|
|
230
|
-
|
|
231
|
-
# A. Activate virtualenv (recommended)
|
|
232
|
-
source "$(poetry env info --path)/bin/activate"
|
|
233
|
-
|
|
234
|
-
# B. Use poetry run prefix
|
|
235
|
-
poetry run rapidkit create
|
|
236
|
-
|
|
237
|
-
# C. Create alias (add to ~/.bashrc or ~/.zshrc)
|
|
238
|
-
alias rapidkit="poetry run rapidkit"
|
|
239
|
-
|
|
240
|
-
# 3. Create projects
|
|
241
|
-
rapidkit create # Interactive wizard
|
|
242
|
-
rapidkit create project fastapi.standard api
|
|
243
|
-
rapidkit create project nestjs.standard users
|
|
244
|
-
rapidkit create project fastapi.ddd orders
|
|
245
|
-
|
|
246
|
-
# 4. View all projects
|
|
247
|
-
npx rapidkit workspace list
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
**Why workspace mode?**
|
|
251
|
-
- ✅ One shared Python environment (~150MB once vs 150MB per project)
|
|
252
|
-
- ✅ All projects auto-tracked in `~/.rapidkit/workspaces.json`
|
|
253
|
-
- ✅ VS Code Extension auto-discovers projects
|
|
254
|
-
- ✅ Consistent RapidKit Core version
|
|
255
|
-
- ✅ Perfect for microservices architecture
|
|
256
|
-
|
|
257
|
-
### Next Steps
|
|
258
|
-
|
|
259
|
-
```bash
|
|
260
|
-
# Project commands (run inside project directory)
|
|
261
|
-
npx rapidkit init # Install dependencies
|
|
262
|
-
npx rapidkit dev # Start dev server with hot reload
|
|
263
|
-
npx rapidkit test # Run tests with coverage
|
|
264
|
-
npx rapidkit lint # Run linting checks
|
|
265
|
-
npx rapidkit format # Format code
|
|
266
|
-
npx rapidkit build # Build for production
|
|
267
|
-
npx rapidkit start # Start production server
|
|
268
|
-
|
|
269
|
-
# Explore modules
|
|
270
|
-
npx rapidkit modules list # List all 27+ modules (FastAPI/NestJS only)
|
|
271
|
-
npx rapidkit modules info db_postgres # View module details
|
|
272
|
-
|
|
273
|
-
# Health check
|
|
274
|
-
npx rapidkit doctor # Check system requirements
|
|
275
|
-
npx rapidkit doctor --workspace # Check entire workspace
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
> 💡 **Pro Tip:** Install [RapidKit VS Code Extension](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode) for visual project creation, module browsing, and one-click installation!
|
|
279
|
-
|
|
280
|
-
---
|
|
281
|
-
|
|
282
|
-
## 💎 Prefer Visual Interface?
|
|
283
|
-
|
|
284
|
-
<div align="center">
|
|
285
|
-
|
|
286
|
-
### **RapidKit VS Code Extension** is the recommended way to use RapidKit
|
|
287
|
-
|
|
288
|
-
All npm CLI features + powerful visual tools in one integrated experience
|
|
289
|
-
|
|
290
|
-
[](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode)
|
|
291
|
-
|
|
292
|
-
</div>
|
|
293
|
-
|
|
294
|
-
**Why use the Extension?**
|
|
295
|
-
|
|
296
|
-
| Feature | npm CLI | VS Code Extension |
|
|
297
|
-
|---------|---------|-------------------|
|
|
298
|
-
| **Project Creation** | ✅ Terminal commands | ✅ Visual wizard with preview |
|
|
299
|
-
| **Module Browse** | ✅ List in terminal | ✅ Rich UI with search & categories |
|
|
300
|
-
| **Module Installation** | ✅ `add module` command | ✅ One-click install with previews |
|
|
301
|
-
| **Workspace Management** | ✅ Basic commands | ✅ Visual tree + auto-discovery |
|
|
302
|
-
| **System Health Check** | ✅ `doctor` command | ✅ Real-time status indicators |
|
|
303
|
-
| **Project Templates** | ✅ Kit selection | ✅ Preview + compare kits visually |
|
|
304
|
-
| **Documentation** | ❌ External links | ✅ Integrated docs & tooltips |
|
|
305
|
-
| **AI Recommendations** | ✅ Terminal prompts | ✅ Interactive suggestions panel |
|
|
306
|
-
| **Multi-project View** | ❌ | ✅ Workspace explorer & switcher |
|
|
307
|
-
| **Quick Actions** | ❌ | ✅ Right-click context menus |
|
|
308
|
-
|
|
309
|
-
**Extension-only features:**
|
|
310
|
-
- 🎨 **Visual Project Browser**: See all projects at a glance
|
|
311
|
-
- 📊 **Live Health Monitoring**: Real-time project status
|
|
312
|
-
- 🔍 **Smart Search**: Find modules instantly with filters
|
|
313
|
-
- 📝 **Inline Documentation**: Hover tooltips for every module
|
|
314
|
-
- ⚡ **Quick Commands**: Keyboard shortcuts for common tasks
|
|
315
|
-
- 🔄 **Auto-sync**: Automatically detect new projects
|
|
316
|
-
- 🎯 **Context Menus**: Right-click actions everywhere
|
|
317
|
-
|
|
318
|
-
> 💡 The Extension includes the full npm package functionality, so you get **both** the CLI and the visual interface!
|
|
319
|
-
|
|
320
|
-
[📥 Install VS Code Extension](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode) • [📖 Extension Docs](https://getrapidkit.com/docs/vscode-extension)
|
|
321
|
-
|
|
322
|
-
---
|
|
323
|
-
|
|
324
|
-
## 🧠 Core Concepts
|
|
325
|
-
|
|
326
|
-
### Workspace vs Standalone
|
|
327
|
-
|
|
328
|
-
Choose the right mode for your use case:
|
|
329
|
-
|
|
330
|
-
| Feature | Workspace Mode | Standalone Mode |
|
|
331
|
-
|---------|----------------|-----------------|
|
|
332
|
-
| **Best For** | Teams, microservices, multiple projects | Single project, quick prototyping |
|
|
333
|
-
| **Setup Time** | ~2 minutes (one time) | ~30 seconds |
|
|
334
|
-
| **Disk Usage** | Efficient (one venv) | Higher (multiple venvs) |
|
|
335
|
-
| **Python Environment** | Shared across all projects | Separate per project |
|
|
336
|
-
| **Project Tracking** | Auto-tracked in registry | Manual |
|
|
337
|
-
| **VS Code Extension** | Auto-discovery | Manual discovery |
|
|
338
|
-
|
|
339
|
-
### Project Structure
|
|
340
|
-
|
|
341
|
-
#### Workspace Structure
|
|
342
|
-
|
|
343
|
-
```
|
|
344
|
-
my-workspace/
|
|
345
|
-
├── .rapidkit-workspace # Workspace marker file
|
|
346
|
-
├── .venv/ # Shared Python environment
|
|
347
|
-
├── poetry.lock # Locked dependencies
|
|
348
|
-
├── poetry.toml # Poetry configuration
|
|
349
|
-
├── pyproject.toml # Workspace Python config
|
|
350
|
-
├── rapidkit # CLI script (Unix)
|
|
351
|
-
├── rapidkit.cmd # CLI script (Windows)
|
|
352
|
-
├── README.md
|
|
353
|
-
├── my-api/ # FastAPI project
|
|
354
|
-
├── my-service/ # NestJS project
|
|
355
|
-
└── my-admin/ # Another project
|
|
356
|
-
```
|
|
357
|
-
|
|
358
|
-
#### FastAPI Project (DDD Architecture)
|
|
359
|
-
|
|
360
|
-
```
|
|
361
|
-
my-api/
|
|
362
|
-
├── .rapidkit/ # RapidKit metadata & CLI
|
|
363
|
-
│ ├── activate # Environment activation
|
|
364
|
-
│ ├── cli.py # Local CLI commands
|
|
365
|
-
│ ├── context.json # Build context
|
|
366
|
-
│ └── rapidkit # Project CLI launcher
|
|
367
|
-
├── src/
|
|
368
|
-
│ ├── app/ # DDD layers
|
|
369
|
-
│ │ ├── application/ # Use cases & interfaces
|
|
370
|
-
│ │ ├── domain/ # Business logic & models
|
|
371
|
-
│ │ ├── infrastructure/ # External services & repos
|
|
372
|
-
│ │ ├── presentation/ # API controllers & routes
|
|
373
|
-
│ │ ├── config/ # Configuration
|
|
374
|
-
│ │ ├── shared/ # Shared utilities
|
|
375
|
-
│ │ └── main.py # Application entry
|
|
376
|
-
│ ├── modules/ # RapidKit modules
|
|
377
|
-
│ │ └── free/ # Free modules (auth, db, etc.)
|
|
378
|
-
│ ├── routing/ # API routes
|
|
379
|
-
│ ├── health/ # Health check endpoints
|
|
380
|
-
│ ├── cli.py # CLI commands
|
|
381
|
-
│ └── main.py # FastAPI app entry
|
|
382
|
-
├── tests/ # Test suite
|
|
383
|
-
├── config/ # Configuration files
|
|
384
|
-
├── .github/workflows/ # CI/CD pipelines
|
|
385
|
-
├── docker-compose.yml # Docker Compose setup
|
|
386
|
-
├── Dockerfile # Production container
|
|
387
|
-
├── Makefile # Quick commands
|
|
388
|
-
├── pyproject.toml # Poetry dependencies
|
|
389
|
-
├── poetry.lock # Locked dependencies
|
|
390
|
-
├── bootstrap.sh # Setup script
|
|
391
|
-
├── .env.example # Environment template
|
|
392
|
-
├── .pre-commit-config.yaml # Pre-commit hooks
|
|
393
|
-
└── README.md
|
|
394
|
-
```
|
|
395
|
-
|
|
396
|
-
#### NestJS Project (Standard Architecture)
|
|
397
|
-
|
|
398
|
-
```
|
|
399
|
-
my-service/
|
|
400
|
-
├── .rapidkit/ # RapidKit metadata & CLI
|
|
401
|
-
│ ├── activate # Environment activation
|
|
402
|
-
│ ├── context.json # Build context
|
|
403
|
-
│ └── rapidkit # Project CLI launcher
|
|
404
|
-
├── src/
|
|
405
|
-
│ ├── app.module.ts # Root module
|
|
406
|
-
│ ├── app.controller.ts # Root controller
|
|
407
|
-
│ ├── app.service.ts # Root service
|
|
408
|
-
│ ├── main.ts # NestJS entry point
|
|
409
|
-
│ ├── config/ # Configuration module
|
|
410
|
-
│ │ ├── configuration.ts
|
|
411
|
-
│ │ ├── validation.ts
|
|
412
|
-
│ │ └── index.ts
|
|
413
|
-
│ ├── modules/ # RapidKit modules
|
|
414
|
-
│ │ ├── free/ # Free modules (auth, db, etc.)
|
|
415
|
-
│ │ └── index.ts # Module registry
|
|
416
|
-
│ ├── auth/ # Auth feature module
|
|
417
|
-
│ │ ├── auth.module.ts
|
|
418
|
-
│ │ ├── auth.controller.ts
|
|
419
|
-
│ │ ├── auth.service.ts
|
|
420
|
-
│ │ └── entities/
|
|
421
|
-
│ ├── examples/ # Example CRUD module
|
|
422
|
-
│ │ ├── examples.module.ts
|
|
423
|
-
│ │ ├── examples.controller.ts
|
|
424
|
-
│ │ ├── examples.service.ts
|
|
425
|
-
│ │ └── dto/
|
|
426
|
-
│ └── health/ # Health check endpoints
|
|
427
|
-
├── test/ # E2E tests
|
|
428
|
-
├── tests/ # Unit tests
|
|
429
|
-
├── .github/workflows/ # CI/CD pipelines
|
|
430
|
-
├── docker-compose.yml # Docker Compose setup
|
|
431
|
-
├── Dockerfile # Production container
|
|
432
|
-
├── Makefile # Quick commands
|
|
433
|
-
├── package.json # npm dependencies
|
|
434
|
-
├── package-lock.json # Locked dependencies
|
|
435
|
-
├── nest-cli.json # NestJS CLI config
|
|
436
|
-
├── tsconfig.json # TypeScript config
|
|
437
|
-
├── tsconfig.build.json # Build config
|
|
438
|
-
├── jest.config.ts # Jest test config
|
|
439
|
-
├── eslint.config.cjs # ESLint config
|
|
440
|
-
├── bootstrap.sh # Setup script
|
|
441
|
-
├── .env.example # Environment template
|
|
442
|
-
└── README.md
|
|
443
|
-
```
|
|
444
|
-
|
|
445
|
-
### Module System
|
|
446
|
-
|
|
447
|
-
RapidKit's modules are plug-and-play components that extend your project:
|
|
448
|
-
|
|
449
|
-
> ℹ️ The module system currently supports **FastAPI** and **NestJS** kits.
|
|
450
|
-
> Go kits (`gofiber.standard`, `gogin.standard`) currently do not support module installation.
|
|
451
|
-
|
|
452
|
-
```bash
|
|
453
|
-
# Add authentication
|
|
454
|
-
rapidkit add module auth
|
|
455
|
-
|
|
456
|
-
# Add database with caching
|
|
457
|
-
rapidkit add module db_postgres
|
|
458
|
-
rapidkit add module redis
|
|
459
|
-
|
|
460
|
-
# Add payment processing
|
|
461
|
-
rapidkit add module stripe
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
Modules include:
|
|
465
|
-
- ✅ Pre-configured code
|
|
466
|
-
- ✅ Dependencies (auto-added to pyproject.toml/package.json)
|
|
467
|
-
- ✅ Configuration templates
|
|
468
|
-
- ✅ Tests and documentation
|
|
469
|
-
- ✅ Best practices baked in
|
|
470
|
-
|
|
471
|
-
### 🤖 AI-Powered Recommendations
|
|
472
|
-
|
|
473
|
-
Not sure which modules you need? Ask AI:
|
|
474
|
-
|
|
475
|
-
```bash
|
|
476
|
-
npx rapidkit ai recommend "I want to build a SaaS with authentication and payments"
|
|
477
|
-
|
|
478
|
-
# Output:
|
|
479
|
-
# 📦 Recommended Modules:
|
|
480
|
-
# 1. Authentication Core (92% match)
|
|
481
|
-
# 2. Users Core (88% match)
|
|
482
|
-
# 3. Stripe Payment (85% match)
|
|
483
|
-
# 4. PostgreSQL (82% match)
|
|
484
|
-
```
|
|
485
|
-
|
|
486
|
-
**Setup (one-time):**
|
|
487
|
-
```bash
|
|
488
|
-
rapidkit config set-api-key # Configure OpenAI API key
|
|
489
|
-
rapidkit ai generate-embeddings # Generate embeddings (~$0.50)
|
|
490
|
-
```
|
|
491
|
-
|
|
492
|
-
**Features:**
|
|
493
|
-
- 🧠 Understands natural language queries
|
|
494
|
-
- 🎯 Suggests relevant modules with confidence scores
|
|
495
|
-
- 💰 Ultra-cheap: ~$0.0002 per query
|
|
496
|
-
- ✅ Works in mock mode without API key (for testing)
|
|
497
|
-
|
|
498
|
-
[More about AI features →](https://getrapidkit.com/docs/ai)
|
|
499
|
-
|
|
500
|
-
---
|
|
501
|
-
|
|
502
|
-
## 🧩 Module Ecosystem
|
|
503
|
-
|
|
504
|
-
RapidKit includes **27 production-ready modules** across 10 categories for **FastAPI** and **NestJS** projects:
|
|
505
|
-
|
|
506
|
-
### Quick Overview
|
|
507
|
-
|
|
508
|
-
- 🔐 **Authentication** (5 modules): Core Auth, API Keys, OAuth, Passwordless, Sessions
|
|
509
|
-
- 💳 **Payments & E-commerce** (3): Stripe, Shopping Cart, Inventory
|
|
510
|
-
- 🗄️ **Databases** (3): PostgreSQL, MongoDB, SQLite
|
|
511
|
-
- 🔒 **Security** (3): CORS, Rate Limiting, Security Headers
|
|
512
|
-
- 📧 **Communication** (2): Email, Unified Notifications
|
|
513
|
-
- 👥 **User Management** (2): Users Core, User Profiles
|
|
514
|
-
- ⚙️ **Essentials** (4): Settings, Middleware, Logging, Deployment
|
|
515
|
-
- 📊 **Observability** (1): Metrics & Tracing
|
|
516
|
-
- 💾 **Caching** (1): Redis
|
|
517
|
-
- 🤖 **AI** (1): AI Assistant
|
|
518
|
-
- ⚡ **Tasks** (1): Celery
|
|
519
|
-
- 💼 **Storage** (1): File Management
|
|
520
|
-
|
|
521
|
-
### Browse & Install
|
|
522
|
-
|
|
523
|
-
```bash
|
|
524
|
-
# List all modules
|
|
525
|
-
rapidkit modules list
|
|
526
|
-
|
|
527
|
-
# View module details
|
|
528
|
-
rapidkit modules info auth
|
|
529
|
-
rapidkit modules info db_postgres
|
|
530
|
-
|
|
531
|
-
# Install modules
|
|
532
|
-
rapidkit add module auth
|
|
533
|
-
rapidkit add module db_postgres redis
|
|
534
|
-
```
|
|
535
|
-
|
|
536
|
-
### Popular Combinations
|
|
537
|
-
|
|
538
|
-
**SaaS Starter:**
|
|
539
|
-
```bash
|
|
540
|
-
rapidkit add module auth users db_postgres redis session
|
|
541
|
-
```
|
|
542
|
-
|
|
543
|
-
**E-commerce API:**
|
|
544
|
-
```bash
|
|
545
|
-
rapidkit add module auth users db_postgres cart inventory stripe
|
|
546
|
-
```
|
|
547
|
-
|
|
548
|
-
**Enterprise API:**
|
|
549
|
-
```bash
|
|
550
|
-
rapidkit add module auth api_keys db_postgres redis rate_limiting observability
|
|
85
|
+
npx rapidkit create project <kit> <name> [--yes] [--skip-install]
|
|
86
|
+
npx rapidkit init
|
|
87
|
+
npx rapidkit dev
|
|
88
|
+
npx rapidkit test
|
|
89
|
+
npx rapidkit build
|
|
90
|
+
npx rapidkit start
|
|
551
91
|
```
|
|
552
92
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
---
|
|
556
|
-
|
|
557
|
-
## 💻 Commands Reference
|
|
558
|
-
|
|
559
|
-
### Global Commands (Run Anywhere)
|
|
93
|
+
### Operations
|
|
560
94
|
|
|
561
95
|
```bash
|
|
562
|
-
|
|
563
|
-
npx rapidkit <
|
|
564
|
-
npx rapidkit create workspace # Interactive workspace creation
|
|
565
|
-
npx rapidkit create workspace <name> # Create workspace with name
|
|
566
|
-
|
|
567
|
-
# Project creation
|
|
568
|
-
npx rapidkit create project # Interactive wizard
|
|
569
|
-
npx rapidkit create project <kit> <name> # Direct creation
|
|
570
|
-
|
|
571
|
-
# Information
|
|
572
|
-
npx rapidkit list # List kits
|
|
573
|
-
npx rapidkit modules list # List modules (FastAPI/NestJS kits)
|
|
574
|
-
npx rapidkit kits info <name> # Kit details
|
|
575
|
-
npx rapidkit modules info <name> # Module details
|
|
576
|
-
|
|
577
|
-
# System health
|
|
578
|
-
npx rapidkit doctor # Check system
|
|
579
|
-
npx rapidkit doctor --workspace # Check workspace
|
|
580
|
-
npx rapidkit doctor --workspace --fix # Auto-fix issues
|
|
581
|
-
npx rapidkit doctor --workspace --json # JSON output (CI/CD)
|
|
582
|
-
|
|
583
|
-
# Workspace management
|
|
584
|
-
npx rapidkit workspace list # List workspaces
|
|
585
|
-
npx rapidkit workspace sync # Sync projects
|
|
586
|
-
|
|
587
|
-
# CLI info
|
|
588
|
-
npx rapidkit --version # Show version
|
|
589
|
-
npx rapidkit --help # Show help
|
|
96
|
+
npx rapidkit cache <status|clear|prune|repair>
|
|
97
|
+
npx rapidkit mirror <status|sync|verify|rotate>
|
|
590
98
|
```
|
|
591
99
|
|
|
592
|
-
|
|
593
|
-
- Without a name: asks workspace name, author name, Python version, and install method.
|
|
594
|
-
- With a name: asks author name, Python version, and install method.
|
|
595
|
-
- With `--yes`: skips prompts and uses defaults.
|
|
100
|
+
## Profiles
|
|
596
101
|
|
|
597
|
-
|
|
102
|
+
- `minimal` — baseline workspace scaffolding
|
|
103
|
+
- `python-only` — Python-focused workspace
|
|
104
|
+
- `node-only` — Node.js-focused workspace
|
|
105
|
+
- `go-only` — Go-focused workspace
|
|
106
|
+
- `polyglot` — Python + Node.js + Go
|
|
107
|
+
- `enterprise` — polyglot + governance-oriented checks
|
|
598
108
|
|
|
599
|
-
|
|
600
|
-
npx rapidkit init # Context-aware init (see behavior below)
|
|
601
|
-
npx rapidkit dev # Start dev server with hot reload
|
|
602
|
-
npx rapidkit start # Start production server
|
|
603
|
-
npx rapidkit build # Build for production
|
|
604
|
-
npx rapidkit test # Run tests with coverage
|
|
605
|
-
npx rapidkit lint # Run linting
|
|
606
|
-
npx rapidkit format # Format code
|
|
607
|
-
```
|
|
109
|
+
## Policy Modes
|
|
608
110
|
|
|
609
|
-
`
|
|
610
|
-
- In a plain folder: creates `my-workspace` (or `my-workspace-<n>` if needed) and initializes it.
|
|
611
|
-
- In a workspace root: initializes workspace dependencies, then initializes all detected child projects.
|
|
612
|
-
- In a project inside a workspace: initializes only that project.
|
|
111
|
+
`mode` in `.rapidkit/policies.yml` controls enforcement:
|
|
613
112
|
|
|
614
|
-
|
|
113
|
+
- `warn` (default): report violations, continue
|
|
114
|
+
- `strict`: block incompatible operations
|
|
615
115
|
|
|
616
|
-
|
|
617
|
-
# Plain folder
|
|
618
|
-
cd ~/new-folder && npx rapidkit init
|
|
116
|
+
## Workspace Policy Management
|
|
619
117
|
|
|
620
|
-
|
|
621
|
-
cd ~/my-workspace && npx rapidkit init
|
|
622
|
-
|
|
623
|
-
# Project inside workspace
|
|
624
|
-
cd ~/my-workspace/my-api && npx rapidkit init
|
|
625
|
-
```
|
|
626
|
-
|
|
627
|
-
### Module Commands
|
|
628
|
-
|
|
629
|
-
```bash
|
|
630
|
-
npx rapidkit add module <slug> # Add single module
|
|
631
|
-
npx rapidkit add module auth redis # Add multiple modules
|
|
632
|
-
npx rapidkit modules list # List available modules
|
|
633
|
-
npx rapidkit modules info <slug> # Module details
|
|
634
|
-
```
|
|
635
|
-
|
|
636
|
-
> ℹ️ `add module` and `modules ...` commands apply to **FastAPI/NestJS** projects.
|
|
637
|
-
> For Go kits, these commands are intentionally unavailable in this release.
|
|
638
|
-
|
|
639
|
-
### Advanced Options
|
|
118
|
+
Manage `.rapidkit/policies.yml` via CLI (recommended, avoids manual YAML edits):
|
|
640
119
|
|
|
641
120
|
```bash
|
|
642
|
-
|
|
643
|
-
npx rapidkit
|
|
644
|
-
npx rapidkit
|
|
645
|
-
npx rapidkit
|
|
646
|
-
npx rapidkit <name> --debug # Verbose logging
|
|
647
|
-
npx rapidkit create workspace --yes # Create default my-workspace non-interactive
|
|
648
|
-
npx rapidkit create workspace <name> --yes # Create named workspace non-interactive
|
|
649
|
-
|
|
650
|
-
# Project creation
|
|
651
|
-
npx rapidkit create --output <dir> # Custom location
|
|
652
|
-
npx rapidkit create --no-update-check # Skip version check
|
|
121
|
+
npx rapidkit workspace policy show
|
|
122
|
+
npx rapidkit workspace policy set mode strict
|
|
123
|
+
npx rapidkit workspace policy set dependency_sharing_mode shared-runtime-caches
|
|
124
|
+
npx rapidkit workspace policy set rules.enforce_toolchain_lock true
|
|
653
125
|
```
|
|
654
126
|
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
| `test` | Run tests | Inside project |
|
|
664
|
-
| `add module` | Add module to project (FastAPI/NestJS) | Inside project |
|
|
665
|
-
| `list` | List kits | Anywhere |
|
|
666
|
-
| `modules list` | List modules (FastAPI/NestJS) | Anywhere |
|
|
667
|
-
| `doctor` | Health check | Anywhere |
|
|
668
|
-
| `workspace` | Manage workspaces | Anywhere |
|
|
669
|
-
|
|
670
|
-
---
|
|
671
|
-
|
|
672
|
-
## 📋 Requirements
|
|
127
|
+
Supported keys:
|
|
128
|
+
- `mode`
|
|
129
|
+
- `dependency_sharing_mode`
|
|
130
|
+
- `rules.enforce_workspace_marker`
|
|
131
|
+
- `rules.enforce_toolchain_lock`
|
|
132
|
+
- `rules.disallow_untrusted_tool_sources`
|
|
133
|
+
- `rules.enforce_compatibility_matrix`
|
|
134
|
+
- `rules.require_mirror_lock_for_offline`
|
|
673
135
|
|
|
674
|
-
|
|
136
|
+
## Setup and Warm Dependencies
|
|
675
137
|
|
|
676
|
-
|
|
677
|
-
- **Python**: 3.10+ (required for RapidKit Core)
|
|
678
|
-
- **Git**: For version control
|
|
138
|
+
`setup <runtime>` validates toolchain and updates `.rapidkit/toolchain.lock`.
|
|
679
139
|
|
|
680
|
-
|
|
140
|
+
`--warm-deps` adds optional dependency warm-up:
|
|
681
141
|
|
|
682
|
-
|
|
683
|
-
-
|
|
684
|
-
-
|
|
142
|
+
- Node: lock/dependency warm-up in Node project directories
|
|
143
|
+
- Go: module warm-up in Go project directories
|
|
144
|
+
- Python: accepted, currently reports node/go scope
|
|
685
145
|
|
|
686
|
-
|
|
687
|
-
- Node.js 20.19.6+
|
|
688
|
-
- npm
|
|
146
|
+
Warm-deps behavior is non-fatal by design and reports explicit outcome (`completed` / `failed` / `skipped`).
|
|
689
147
|
|
|
690
|
-
|
|
691
|
-
- Go 1.23+ (or the version configured by the selected kit)
|
|
692
|
-
- Make (recommended for `make dev/test/build/docs` targets)
|
|
148
|
+
## VS Code Extension
|
|
693
149
|
|
|
694
|
-
|
|
150
|
+
Use the RapidKit VS Code extension for visual workflows and workspace operations.
|
|
695
151
|
|
|
696
|
-
-
|
|
697
|
-
- **VS Code**: For Extension integration
|
|
698
|
-
- **Make**: For Makefile commands (pre-installed on Unix)
|
|
152
|
+
- Extension repository: https://github.com/getrapidkit/rapidkit-vscode
|
|
699
153
|
|
|
700
|
-
|
|
154
|
+
## CI Workflow Ownership Map
|
|
701
155
|
|
|
702
|
-
|
|
156
|
+
Use this map to avoid overlap when editing CI:
|
|
703
157
|
|
|
704
|
-
|
|
158
|
+
- `.github/workflows/ci.yml`
|
|
159
|
+
- Build/lint/typecheck/tests/coverage matrix
|
|
160
|
+
- General quality and contract gates
|
|
161
|
+
- `.github/workflows/workspace-e2e-matrix.yml`
|
|
162
|
+
- Cross-OS workspace lifecycle smoke
|
|
163
|
+
- Setup (`--warm-deps`) + cache/mirror ops
|
|
164
|
+
- Chaos/non-fatal warm-deps behavior (Ubuntu job)
|
|
165
|
+
- `.github/workflows/windows-bridge-e2e.yml`
|
|
166
|
+
- Native Windows bridge/lifecycle checks
|
|
167
|
+
- `.github/workflows/e2e-smoke.yml`
|
|
168
|
+
- Focused bridge regression smoke (fast, narrow scope)
|
|
169
|
+
- `.github/workflows/security.yml`
|
|
170
|
+
- Security scanning and policy checks
|
|
705
171
|
|
|
706
|
-
|
|
707
|
-
<summary><strong>Do I need Python installed?</strong></summary>
|
|
172
|
+
## Documentation Index
|
|
708
173
|
|
|
709
|
-
|
|
710
|
-
</details>
|
|
174
|
+
Primary docs live under `docs/`:
|
|
711
175
|
|
|
712
|
-
|
|
713
|
-
|
|
176
|
+
- General docs index: [docs/README.md](docs/README.md)
|
|
177
|
+
- Setup details: [docs/SETUP.md](docs/SETUP.md)
|
|
178
|
+
- Doctor command: [docs/doctor-command.md](docs/doctor-command.md)
|
|
179
|
+
- Workspace marker spec: [docs/WORKSPACE_MARKER_SPEC.md](docs/WORKSPACE_MARKER_SPEC.md)
|
|
180
|
+
- Config file guide: [docs/config-file-guide.md](docs/config-file-guide.md)
|
|
181
|
+
- Package manager policy: [docs/PACKAGE_MANAGER_POLICY.md](docs/PACKAGE_MANAGER_POLICY.md)
|
|
182
|
+
- Security: [docs/SECURITY.md](docs/SECURITY.md)
|
|
183
|
+
- Development: [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md)
|
|
714
184
|
|
|
715
|
-
|
|
716
|
-
</details>
|
|
717
|
-
|
|
718
|
-
<details>
|
|
719
|
-
<summary><strong>What's the difference from cookiecutter?</strong></summary>
|
|
720
|
-
|
|
721
|
-
RapidKit provides:
|
|
722
|
-
- **Living templates** that receive updates
|
|
723
|
-
- **27+ plug-and-play modules**
|
|
724
|
-
- **Workspace management**
|
|
725
|
-
- **VS Code integration**
|
|
726
|
-
- **Built-in dev commands** (dev, test, lint)
|
|
727
|
-
|
|
728
|
-
Cookiecutter is one-time scaffolding. RapidKit is a complete development platform.
|
|
729
|
-
</details>
|
|
730
|
-
|
|
731
|
-
<details>
|
|
732
|
-
<summary><strong>Do I need the VS Code Extension?</strong></summary>
|
|
733
|
-
|
|
734
|
-
No, but highly recommended! It provides visual interface, one-click module installation, workspace browser, and system checker.
|
|
735
|
-
</details>
|
|
736
|
-
|
|
737
|
-
<details>
|
|
738
|
-
<summary><strong>Can I customize generated projects?</strong></summary>
|
|
739
|
-
|
|
740
|
-
Yes! After generation, files are yours. Modify as needed, add/remove modules, update dependencies. RapidKit won't overwrite your changes.
|
|
741
|
-
</details>
|
|
742
|
-
|
|
743
|
-
<details>
|
|
744
|
-
<summary><strong>How do I upgrade RapidKit?</strong></summary>
|
|
185
|
+
## Development
|
|
745
186
|
|
|
746
187
|
```bash
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
npm
|
|
752
|
-
|
|
753
|
-
# For workspace Python Core
|
|
754
|
-
cd my-workspace
|
|
755
|
-
poetry update rapidkit-core
|
|
188
|
+
npm ci
|
|
189
|
+
npm run build
|
|
190
|
+
npm run test
|
|
191
|
+
npm run lint
|
|
192
|
+
npm run typecheck
|
|
756
193
|
```
|
|
757
|
-
</details>
|
|
758
194
|
|
|
759
|
-
|
|
760
|
-
<summary><strong>Is there Docker support?</strong></summary>
|
|
761
|
-
|
|
762
|
-
Yes! All projects include:
|
|
763
|
-
- `Dockerfile` for production
|
|
764
|
-
- `docker-compose.yml` for development
|
|
765
|
-
- `.dockerignore` for optimization
|
|
195
|
+
Link local CLI globally for manual testing:
|
|
766
196
|
|
|
767
197
|
```bash
|
|
768
|
-
|
|
769
|
-
|
|
198
|
+
npm run install:local
|
|
199
|
+
npx rapidkit --version
|
|
770
200
|
```
|
|
771
|
-
</details>
|
|
772
|
-
|
|
773
|
-
**More Questions?** Check [Full Documentation](https://getrapidkit.com) or [Open an Issue](https://github.com/getrapidkit/rapidkit-npm/issues)
|
|
774
|
-
|
|
775
|
-
---
|
|
776
|
-
|
|
777
|
-
## 🔗 Links
|
|
778
|
-
|
|
779
|
-
### 📚 Documentation & Resources
|
|
780
|
-
- [Official Website](https://getrapidkit.com) – Complete documentation and guides
|
|
781
|
-
- [Full Module Catalog](https://getrapidkit.com/modules) – Browse all 27+ modules
|
|
782
|
-
- [Getting Started Guide](https://getrapidkit.com/docs/getting-started) – Step-by-step tutorials
|
|
783
|
-
|
|
784
|
-
### 🛠️ Tools & Extensions
|
|
785
|
-
- [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode) – Visual project creation & module management
|
|
786
|
-
- [RapidKit Core (Python)](https://pypi.org/project/rapidkit-core/) – The engine powering RapidKit
|
|
787
|
-
|
|
788
|
-
### 💬 Community & Support
|
|
789
|
-
- [GitHub Discussions](https://github.com/getrapidkit/rapidkit-npm/discussions) – Ask questions & share ideas
|
|
790
|
-
- [GitHub Issues](https://github.com/getrapidkit/rapidkit-npm/issues) – Report bugs & request features
|
|
791
|
-
- [Discord Community](https://discord.gg/rapidkit) – Chat with other developers
|
|
792
|
-
|
|
793
|
-
### 📱 Social
|
|
794
|
-
- [Twitter/X](https://twitter.com/getrapidkit) – Updates & announcements
|
|
795
|
-
- [GitHub Organization](https://github.com/getrapidkit) – All repositories
|
|
796
|
-
- [Blog](https://getrapidkit.com/blog) – Tutorials & best practices
|
|
797
|
-
|
|
798
|
-
---
|
|
799
|
-
|
|
800
|
-
<div align="center">
|
|
801
201
|
|
|
802
|
-
|
|
202
|
+
## Troubleshooting
|
|
803
203
|
|
|
804
|
-
|
|
204
|
+
- If setup output looks stale, run `npx rapidkit setup <runtime>` again to refresh `.rapidkit/toolchain.lock`.
|
|
205
|
+
- If dependency warm-up is skipped, verify you are inside the corresponding project directory (`package.json` for Node, `go.mod` for Go).
|
|
206
|
+
- For strict-mode blocks, inspect `.rapidkit/policies.yml` and workspace profile in `.rapidkit/workspace.json`.
|
|
805
207
|
|
|
806
|
-
|
|
208
|
+
## License
|
|
807
209
|
|
|
808
|
-
|
|
210
|
+
MIT — see [LICENSE](LICENSE).
|