@base44-preview/cli 0.0.15-pr.95.d246983 → 0.0.15-pr.95.fb9043c
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 +11 -8
- package/dist/cli/index.js +6296 -5998
- package/dist/cli/templates/backend-and-client/base44/env.local.ejs +9 -0
- package/dist/cli/templates/backend-only/base44/env.local.ejs +9 -0
- package/package.json +3 -2
- package/dist/cli/templates/backend-and-client/base44/app.jsonc.ejs +0 -9
- package/dist/cli/templates/backend-only/base44/app.jsonc.ejs +0 -9
package/README.md
CHANGED
|
@@ -79,6 +79,7 @@ Base44 projects are configured via a `config.jsonc` (or `config.json`) file in t
|
|
|
79
79
|
```jsonc
|
|
80
80
|
// base44/config.jsonc
|
|
81
81
|
{
|
|
82
|
+
"id": "your-app-id", // Set after project creation
|
|
82
83
|
"name": "My Project",
|
|
83
84
|
"entitiesDir": "./entities", // Default: ./entities
|
|
84
85
|
"functionsDir": "./functions", // Default: ./functions
|
|
@@ -88,15 +89,17 @@ Base44 projects are configured via a `config.jsonc` (or `config.json`) file in t
|
|
|
88
89
|
}
|
|
89
90
|
```
|
|
90
91
|
|
|
91
|
-
###
|
|
92
|
+
### Environment Variables
|
|
92
93
|
|
|
93
|
-
|
|
94
|
+
| Variable | Description | Default |
|
|
95
|
+
|----------|-------------|---------|
|
|
96
|
+
| `BASE44_CLIENT_ID` | Your app ID | - |
|
|
94
97
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
You can set these in a `.env.local` file in your `base44/` directory:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
# base44/.env.local
|
|
102
|
+
BASE44_CLIENT_ID=your-app-id
|
|
100
103
|
```
|
|
101
104
|
|
|
102
105
|
## Project Structure
|
|
@@ -107,7 +110,7 @@ A typical Base44 project has this structure:
|
|
|
107
110
|
my-project/
|
|
108
111
|
├── base44/
|
|
109
112
|
│ ├── config.jsonc # Project configuration
|
|
110
|
-
│ ├── .
|
|
113
|
+
│ ├── .env.local # Environment variables (git-ignored)
|
|
111
114
|
│ ├── entities/ # Entity schema files
|
|
112
115
|
│ │ ├── user.jsonc
|
|
113
116
|
│ │ └── product.jsonc
|