Package Exports
- @honohub/graphql
- @honohub/graphql/index.cjs.js
- @honohub/graphql/index.esm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@honohub/graphql) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Hono Hub
A CMS framework using Hono + Drizzle + Zod.
Install
# Using npm/yarn/pnpm/bun
npm add honohubTODOs
- REST API
honohub - GraphQL Plugin
@honohub/graphql - Hooks Support
- File Storage
- Dashboard Plugin
Endpoints
List Records - GET /{slug}
Get all the records in the database. If you have enable pagination you can also query data with limit and offset. Sorting is also available.
Create Records - POST /{slug}
Create a new record. You can pass the data as json or formData. It should be valid data as it will be validated by zod.
Bulk Create Records - POST /{slug}
You can also bulk create data, just pass data in an array.
Retrieve Records - GET /{slug}/{id}
Retrieve the record with the given id
Update Records - PATCH /{slug}/{id}
Update the record with the given id. You can pass the data as json or formData. It should be valid data as it will be validated by zod.
Delete Records - DELETE /{slug}/{id}
Delete the record with the given id.