https://github.com/todays-mitsui/hono-graphql-server-example
Example of GraphQL server using Hono and GraphQL Server Middleware
https://github.com/todays-mitsui/hono-graphql-server-example
example graphql hono
Last synced: 6 months ago
JSON representation
Example of GraphQL server using Hono and GraphQL Server Middleware
- Host: GitHub
- URL: https://github.com/todays-mitsui/hono-graphql-server-example
- Owner: todays-mitsui
- Created: 2025-04-19T09:46:57.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-02T01:23:47.000Z (9 months ago)
- Last Synced: 2025-07-19T19:54:18.949Z (7 months ago)
- Topics: example, graphql, hono
- Language: TypeScript
- Homepage: https://hono-graphql-server-example.todays-mitsui.workers.dev/graphql
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hono GraphQL Server Example
Hono の [GraphQL Server Middleware](https://www.npmjs.com/package/@hono/graphql-server) を使用した実装例です。
see: [Hono GraphQL Server Middleware のサンプルコード - 無駄と文化](https://blog.mudatobunka.org/entry/2025/05/02/100000)
## 使い方
### セットアップ
```
npm install
```
### 基本的な例
```
npm run dev:basic
open http://localhost:3000/graphql
```
### 発展的な例
```
npm run dev:advanced
open http://localhost:3000/graphql
```