Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuwave/lighthouse-example
An example project using nuwave/lighthouse
https://github.com/nuwave/lighthouse-example
graphql laravel laravel-graphql lighthouse-php php
Last synced: 2 days ago
JSON representation
An example project using nuwave/lighthouse
- Host: GitHub
- URL: https://github.com/nuwave/lighthouse-example
- Owner: nuwave
- Created: 2018-04-07T21:29:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T08:24:33.000Z (5 months ago)
- Last Synced: 2024-06-27T09:21:34.356Z (4 months ago)
- Topics: graphql, laravel, laravel-graphql, lighthouse-php, php
- Language: PHP
- Homepage: https://lighthouse-php.com
- Size: 573 KB
- Stars: 62
- Watchers: 4
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lighthouse Example
**An example [Laravel](https://laravel.com) project using [nuwave/lighthouse](https://github.com/nuwave/lighthouse).**
## Setup
```shell
composer install
cp .env.example .env
touch database/database.sqlite
php artisan migrate
```## Usage
Run the server with the following command:
```shell
php artisan serve
```Access [the GraphiQL UI](https://github.com/graphql/graphiql/blob/main/packages/graphiql/README.md) at `/graphiql`.
## Minimalism
In order to keep maintenance as simple as possible,
the project has been stripped of all unnecessary components or files.