-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexamples.json
More file actions
361 lines (361 loc) · 15 KB
/
examples.json
File metadata and controls
361 lines (361 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"version": "1.0.0",
"lastUpdated": "2026-02-16T00:00:00Z",
"repository": "https://github.com/getrapidkit/rapidkit-examples",
"workspaces": [
{
"id": "my-ai-workspace",
"name": "my-ai-workspace",
"title": "AI Agent Workspace",
"description": "Multi-provider AI assistant with FastAPI and NestJS implementations featuring streaming, caching, health checks, and support ticket endpoints.",
"path": "my-ai-workspace",
"tags": [
"AI",
"Streaming",
"Multi-Provider",
"OpenAI",
"Production"
],
"featured": true,
"difficulty": "intermediate",
"lastModified": "2026-02-17T00:00:00Z",
"tutorialLinks": [
{
"title": "Build Your First AI Agent with RapidKit",
"url": "https://rapidkit.medium.com/build-your-first-ai-agent-with-rapidkit-in-10-minutes-f38a6a12088d",
"platform": "Medium"
},
{
"title": "Build Your First AI Agent with RapidKit",
"url": "https://dev.to/rapidkit/build-your-first-ai-agent-with-rapidkit-in-10-minutes-3dj6",
"platform": "Dev.to"
}
],
"projects": [
{
"id": "ai-agent",
"name": "ai-agent",
"type": "fastapi",
"displayName": "AI Agent (FastAPI)",
"description": "Production-ready FastAPI AI assistant with multi-provider support (echo/template/OpenAI-ready)",
"path": "my-ai-workspace/ai-agent",
"features": [
"Multi-provider AI completions",
"Streaming responses",
"Response caching",
"Health checks",
"OpenAI integration"
],
"endpoints": [
"GET /docs",
"GET /ai/assistant/providers",
"POST /ai/assistant/completions",
"POST /ai/assistant/stream",
"GET /ai/assistant/health",
"POST /support/ticket"
],
"defaultPort": 8000
},
{
"id": "ai-agent-nest",
"name": "ai-agent-nest",
"type": "nestjs",
"displayName": "AI Agent (NestJS)",
"description": "NestJS parity implementation with ai_assistant module + support/ticket workflow endpoint",
"path": "my-ai-workspace/ai-agent-nest",
"features": [
"ai_assistant module integration",
"Support ticket workflow",
"OpenAI provider registration",
"Swagger documentation",
"Health endpoints"
],
"endpoints": [
"GET /docs",
"GET /health",
"GET /ai/assistant/providers",
"POST /ai/assistant/completions",
"POST /ai/assistant/stream",
"GET /ai/assistant/health",
"DELETE /ai/assistant/cache",
"POST /support/ticket"
],
"defaultPort": 8013
}
],
"requirements": {
"python": ">=3.10",
"node": ">=20",
"rapidkit": ">=0.9.0"
},
"quickStart": {
"fastapi": [
"cd my-ai-workspace/ai-agent",
"source .rapidkit/activate",
"rapidkit init",
"rapidkit dev"
],
"nestjs": [
"cd my-ai-workspace/ai-agent-nest",
"source .rapidkit/activate",
"rapidkit init",
"rapidkit dev -p 8013"
]
}
},
{
"id": "quickstart-workspace",
"name": "quickstart-workspace",
"title": "Quickstart Workspace",
"description": "Production-ready FastAPI demonstrating 5-minute setup with auth, database, caching, and monitoring.",
"path": "quickstart-workspace",
"tags": [
"Quickstart",
"Production-Ready",
"Authentication",
"PostgreSQL",
"Redis",
"Monitoring"
],
"featured": true,
"difficulty": "beginner",
"lastModified": "2026-02-14T00:00:00Z",
"tutorialLinks": [
{
"title": "From Zero to Production API in 5 Minutes",
"url": "https://rapidkit.medium.com/from-zero-to-production-api-in-5-minutes",
"platform": "Medium"
},
{
"title": "From Zero to Production API in 5 Minutes",
"url": "https://dev.to/rapidkit/from-zero-to-production-api-in-5-minutes",
"platform": "Dev.to"
}
],
"projects": [
{
"id": "product-api",
"name": "product-api",
"type": "fastapi",
"displayName": "Product API",
"description": "Complete production-ready API with JWT auth, PostgreSQL, Redis, CORS, security headers, logging, and health checks",
"path": "quickstart-workspace/product-api",
"features": [
"JWT Authentication (register, login, refresh)",
"PostgreSQL with SQLAlchemy (async & sync)",
"Redis caching with connection pooling",
"CORS & Security Headers",
"Structured JSON logging",
"Health checks & Prometheus metrics",
"Docker & docker-compose",
"CI/CD templates"
],
"endpoints": [
"GET /docs",
"GET /health",
"GET /api/health/module/auth-core",
"GET /api/health/module/postgres",
"GET /api/health/module/redis",
"GET /metrics",
"POST /auth/register",
"POST /auth/login",
"GET /auth/me"
],
"defaultPort": 8000
},
{
"id": "ecommerce-api",
"name": "ecommerce-api",
"type": "fastapi",
"displayName": "E-Commerce API",
"description": "Production-style ecommerce API with catalog, cart, checkout, auth-ready modules, PostgreSQL, Redis, and security defaults.",
"path": "quickstart-workspace/ecommerce-api",
"features": [
"Catalog management endpoints",
"Cart and checkout flow",
"PostgreSQL module wiring",
"Redis module wiring",
"Auth Core + Security Headers",
"Structured logging and module health"
],
"endpoints": [
"GET /docs",
"GET /health",
"GET /api/v1/ecommerce/products",
"POST /api/v1/ecommerce/products",
"POST /api/v1/ecommerce/cart/items",
"POST /api/v1/ecommerce/checkout",
"GET /api/v1/ecommerce/orders/{order_id}",
"GET /api/health/module/postgres",
"GET /api/health/module/redis"
],
"defaultPort": 8001
}
],
"requirements": {
"python": ">=3.10",
"rapidkit": ">=0.9.0",
"docker": "recommended"
},
"quickStart": {
"fastapi": [
"cd quickstart-workspace/product-api",
"docker-compose up -d postgres redis",
"source .rapidkit/activate",
"rapidkit init",
"rapidkit dev"
]
}
},
{
"id": "saas-starter-workspace",
"name": "saas-starter-workspace",
"title": "SaaS Starter Workspace",
"description": "Multi-project SaaS foundation with FastAPI and NestJS services covering auth, billing, admin operations, and webhook processing.",
"path": "saas-starter-workspace",
"tags": [
"SaaS",
"FastAPI",
"NestJS",
"Stripe",
"Webhooks",
"Multi-Project"
],
"featured": true,
"difficulty": "advanced",
"lastModified": "2026-02-16T00:00:00Z",
"tutorialLinks": [],
"projects": [
{
"id": "saas-api",
"name": "saas-api",
"type": "fastapi",
"displayName": "SaaS API (FastAPI)",
"description": "Main SaaS backend with auth, profile, subscription, billing, and team endpoints.",
"path": "saas-starter-workspace/saas-api",
"features": [
"JWT + Session auth",
"OAuth providers",
"Profile management",
"Subscriptions and billing",
"Teams/workspaces",
"Rate limiting"
],
"endpoints": [
"POST /auth/register",
"POST /auth/login",
"GET /auth/oauth/{provider}",
"GET /users/profile",
"GET /subscriptions/plans",
"POST /subscriptions/checkout",
"GET /teams"
],
"defaultPort": 8000
},
{
"id": "saas-admin",
"name": "saas-admin",
"type": "fastapi",
"displayName": "SaaS Admin (FastAPI)",
"description": "Admin backend for user moderation, subscription overview, and platform metrics.",
"path": "saas-starter-workspace/saas-admin",
"features": [
"Admin auth",
"User management",
"Subscription overview",
"Metrics and health"
],
"endpoints": [
"POST /admin/auth/login",
"GET /admin/users",
"PUT /admin/users/{user_id}/ban",
"GET /admin/subscriptions",
"GET /admin/health"
],
"defaultPort": 8001
},
{
"id": "saas-nest",
"name": "saas-nest",
"type": "nestjs",
"displayName": "SaaS API (NestJS)",
"description": "NestJS parity service demonstrating shared auth/profile workflows and standardized module health endpoints.",
"path": "saas-starter-workspace/saas-nest",
"features": [
"NestJS framework comparison",
"Auth/profile parity",
"Swagger docs",
"Shared /api/health/module/* routes"
],
"endpoints": [
"POST /auth/register",
"POST /auth/login",
"GET /auth/me",
"GET /users/profile",
"GET /api/health/module/{module}"
],
"defaultPort": 8002
},
{
"id": "saas-webhooks",
"name": "saas-webhooks",
"type": "fastapi",
"displayName": "SaaS Webhooks (FastAPI)",
"description": "Webhook ingestion service for Stripe events with signature verification, replay, and retry-oriented processing.",
"path": "saas-starter-workspace/saas-webhooks",
"features": [
"Stripe webhook intake",
"Signature verification",
"Webhook logs",
"Replay endpoint",
"Background processing",
"Email notification hooks"
],
"endpoints": [
"POST /api/webhooks/stripe",
"GET /api/webhooks/logs",
"POST /api/webhooks/replay/{event_id}"
],
"defaultPort": 8003
}
],
"requirements": {
"python": ">=3.10",
"node": ">=20",
"rapidkit": ">=0.9.0",
"docker": "recommended"
},
"quickStart": {
"workspace": [
"cd saas-starter-workspace",
"npx rapidkit doctor --workspace"
],
"saas-api": [
"cd saas-starter-workspace/saas-api",
"source .rapidkit/activate",
"rapidkit init",
"rapidkit dev"
],
"saas-admin": [
"cd saas-starter-workspace/saas-admin",
"source .rapidkit/activate",
"rapidkit init",
"rapidkit dev -p 8001"
],
"saas-nest": [
"cd saas-starter-workspace/saas-nest",
"source .rapidkit/activate",
"rapidkit init",
"rapidkit dev -p 8002"
],
"saas-webhooks": [
"cd saas-starter-workspace/saas-webhooks",
"source .rapidkit/activate",
"rapidkit init",
"rapidkit dev -p 8003"
]
}
}
]
}