You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reorganized example projects to use a new modular structure, moving and renaming starter, plugin, and showcase examples under 'examples/'. Added new quickstart and integration templates, removed legacy tutorials and scripts, and updated documentation to reflect the new module-based architecture. Introduced a pnpm-lock.yaml merge driver, improved .gitignore, and updated CLI commands and docs for the new workflow. Added new CLI commands and created a separate 'create' package for project scaffolding.
You must build the core libraries before running examples, as they rely on local workspace builds.
304
+
```bash
305
+
pnpm build
306
+
```
307
+
308
+
3.**Run Examples**
309
+
310
+
These examples run as **scripts** to demonstrate the ObjectQL Core Engine capabilities (Validation, CRUD, Logic Hooks). They use an in-memory SQLite database.
|`--config <path>`|`-c`| - | Path to `objectql.config.ts`. |
109
+
|`--modules <items>`|| - | Comma-separated list of modules to load (overrides config). Supports NPM packages (`@org/pkg`) or local paths (`./src/mod`). |
110
+
|`--no-watch`||`false`| Disable file watching. |
111
+
112
+
### 3.2 `start` (Production Server)
113
+
114
+
good Start the server in production mode.
115
+
116
+
```bash
117
+
npx objectql start [options]
118
+
```
119
+
120
+
**Options:**
121
+
122
+
| Option | Alias | Default | Description |
123
+
| :--- | :--- | :--- | :--- |
124
+
|`--port <number>`|`-p`|`3000`| Port to listen on. |
This will create a new project with all necessary dependencies.
28
+
29
+
### 2. Standard Setup (Project Tracker)
30
+
31
+
For building real applications, use the `showcase` template. This sets up a proper folder structure with YAML metadata, TypeScript logic hooks, and relationship management.
26
32
27
-
Create `index.ts`. This script defines the schema, boots the engine, and runs queries in one go.
0 commit comments