Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        



lighthouse-logo

# 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.