Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 991 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 991 Bytes

Lighthouse Example

An example Laravel project using nuwave/lighthouse.

Setup

composer install
cp .env.example .env
touch database/database.sqlite
php artisan migrate --seed

Usage

Run the server with the following command:

php artisan serve

Access the GraphiQL UI at /graphiql.

Minimalism

In order to keep maintenance as simple as possible, the project has been stripped of all unnecessary components or files.

Variants

The sanctum branch adds session authentication with Laravel Sanctum.