@objectql/starter-express-api
v1.8.4
Published
Express API starter template for ObjectQL - REST and GraphQL server implementation example
Maintainers
Readme
Express API Example
This example demonstrates how to integrate ObjectQL with an Express.js server to expose a REST API.
It demonstrates:
- Using
createNodeHandlerto mount ObjectQL as Express middleware - Starting an HTTP server to handle ObjectQL requests
- Accessing data via the HTTP interface
Run
pnpm install
pnpm startAccess API:
POST http://localhost:3004/api/objectql
