This is a reference implementation of the ObjectStack Server Protocol (Kernel). It demonstrates how to build a metadata-driven backend that dynamically loads object definitions from plugins and automatically generates REST APIs.
- Dynamic Schema Loading: Loads
crmandtodoapps as plugins. - Unified Metadata API:
/api/v1/meta/objects - Unified Data API:
/api/v1/data/:object(CRUD) - Zero-Code Backend: No creating routes or controllers per object.
-
Make sure all dependencies are installed in the workspace root:
pnpm install
-
Run the server:
npm run dev
curl http://localhost:3000/api/v1/meta/objectscurl -X POST http://localhost:3000/api/v1/data/todo_task \
-H "Content-Type: application/json" \
-d '{"title": "Buy Milk", "priority": "high"}'curl http://localhost:3000/api/v1/data/todo_task