Details
Laravel GraphQL Example
Install and Run
docker-composer -up
GraphQL Endpoint
/graphql
GraphQL Playground Endpoint
/graphql-playground
Sample Models
-
Department: `/departments`
-
Employees: `/employees`
-
Roles: `/roles`
Fun Stuff
-
It uses a package I created to automatically generate routes, controllers, and
views for models (`webbtj/crud`).
-
Uses `nuwave/lighthouse` for GraphQL implementation.
-
Seeds data from a migration so the DB will keep a record of the action and not
perform it multiple times (and will perform in on `docker-compose up` without
additional docker config).
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|
File |
Role |
Description |
Kernel.php |
Class |
Class source |
File |
Role |
Description |
app.php |
Class |
Class source |
File |
Role |
Description |
js (2 files) |
lang (1 directory) |
sass (1 file) |
views (1 file) |
File |
Role |
Description |
en (4 files) |
File |
Role |
Description |
app.scss |
Data |
Auxiliary data |