create-luff-app 1.0.6 → 1.0.7
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 +20 -18
- package/bin/cli.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,24 +35,24 @@ For detailed troubleshooting on database connections, Kubernetes local setup, an
|
|
|
35
35
|
│ (Express) │
|
|
36
36
|
└──────┬──────┘
|
|
37
37
|
│
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
38
|
+
┌─────────────────┼─────────────────┐
|
|
39
|
+
│ │ │
|
|
40
|
+
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐
|
|
41
|
+
│ Auth │ │ Posts │ │ Payment │
|
|
42
|
+
│ Service │:4001│ Service │:4002│ Service │:4003
|
|
43
|
+
│ (Express) │ │ (Express) │ │ (Express) │
|
|
44
|
+
└─────┬─────┘ └─────┬─────┘ └─────┬─────┘
|
|
45
|
+
│ │ │
|
|
46
|
+
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐
|
|
47
|
+
│ Auth DB │ │ Posts DB │ │Payment DB │
|
|
48
|
+
│ (Postgres)│ │ (Postgres)│ │(Postgres) │
|
|
49
|
+
└───────────┘ └───────────┘ └───────────┘
|
|
50
|
+
|
|
51
|
+
┌─────────────────────────────┐
|
|
52
|
+
│ Frontend App │
|
|
53
|
+
│ (Next.js) │
|
|
54
|
+
│ :3000 │
|
|
55
|
+
└─────────────────────────────┘
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
---
|
|
@@ -64,10 +64,12 @@ For detailed troubleshooting on database connections, Kubernetes local setup, an
|
|
|
64
64
|
| **Frontend** | Next.js 14 (App Router), TailwindCSS, React Query |
|
|
65
65
|
| **Backend** | Node.js, Express, TypeScript |
|
|
66
66
|
| **Database** | PostgreSQL, Prisma ORM |
|
|
67
|
+
| **Payment** | Integrated Stripe/Internal Payment Logic |
|
|
67
68
|
| **Auth** | Google OAuth (PostMessage flow), JWT |
|
|
68
69
|
| **Monorepo** | Turborepo, npm workspaces |
|
|
69
70
|
| **Infra** | Docker, Kubernetes (ArgoCD ready) |
|
|
70
71
|
| **Quality** | ESLint, Prettier, Husky, Commitlint |
|
|
72
|
+
| **Toast** | Sonner (Premium Notifications) |
|
|
71
73
|
|
|
72
74
|
---
|
|
73
75
|
|
package/bin/cli.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
/* eslint-env node */
|
|
2
3
|
|
|
3
4
|
const degit = require("degit");
|
|
4
5
|
const fs = require("fs");
|
|
@@ -81,7 +82,7 @@ async function main() {
|
|
|
81
82
|
console.log("Next steps:");
|
|
82
83
|
console.log(` cd ${projectName}`);
|
|
83
84
|
console.log(
|
|
84
|
-
" docker compose -f docker/docker-compose.yml up auth-db posts-db -d"
|
|
85
|
+
" docker compose -f docker/docker-compose.yml up auth-db posts-db payment-db -d"
|
|
85
86
|
);
|
|
86
87
|
console.log(
|
|
87
88
|
" set up .env files from .env.example files, can also use script > npm run setup"
|