Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Laravel GraphQL API

NotificationsYou must be signed in to change notification settings

alphaolomi/laravel-graphql-api

Repository files navigation

GraphQL Playground Screenshot

🛠️ Technologies

  • Laravel The PHP Framework for Web Artisans.
  • Lighthouse A Lighthouse is a GraphQL framework for Laravel.
  • GraphQL Playground A GraphQL Playground UI for testing and exploring GraphQL APIs.

🚀 Installation

Note: This project requires Git and Composer.

git clonecomposer installcp .env.example .envphp artisan key:generatetouch database/database.sqlitephp artisan migratephp artisan db:seedphp artisan serve

Openhttp://localhost:8000/graphql-playground to view it in the browser.

📝 Usage

Queries

Here are some example queries to try:

{users {idnameemailposts {idtitlebody        }    }}
{user(id:1) {idnameemailposts {idtitlebody        }    }}

🧪 Testing

php artisantest

⭐ Support for this project

If you liked this project, please give it a star ⭐ & check out myother projects.

📄 License

This project is open-sourced software licensed under theMIT license.

Sponsor this project

 

[8]ページ先頭

©2009-2025 Movatter.jp