Skip to content

Zennの「API Routeを使ってフロントからGraphQLサーバーにアクセスする【Next.js】」のソースコード

Notifications You must be signed in to change notification settings

fujiyamaorange/next_graphql_swr

Repository files navigation

This is an article from Zenn.dev

Get Github Access Token

  1. Get github access token referencing here.
  2. Add this token to .env.local
NEXT_PUBLIC_GITHUB_PERSONAL_ACCESSTOKEN=XXXXXXX

Install Packages

npm install
# or
yarn install

Run the Code

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

About

Zennの「API Routeを使ってフロントからGraphQLサーバーにアクセスする【Next.js】」のソースコード

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published