frowhy / gql-nova-app
A Nova application built by GraphQL
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 7
Open Issues: 0
Type:project
Requires
- php: ^7.1.3
- barryvdh/laravel-cors: ^0.11.2
- beyondcode/nova-tinker-tool: ^1.0
- cloudstudio/resource-generator: ^1.0
- ebess/advanced-nova-media-library: ^0.2.1
- epartment/nova-dependency-container: ^1.1
- fideloper/proxy: ^4.0
- folklore/graphql: ^1.1
- frowhy/custom-configuration: *
- frowhy/graphql-register: *
- frowhy/nova-field-quill: *
- frowhy/nova-theme-clean: *
- infinety-es/nova-filemanager: ^1.1
- itsgoingd/clockwork: ^3.0
- laravel/framework: 5.6.*
- laravel/nova: ~1.0
- laravel/tinker: ^1.0
- maatwebsite/laravel-nova-excel: ^1.0
- mll-lab/laravel-graphql-playground: ^0.3.3
- silvanite/novatoolpermissions: ^1.0
- sixlive/nova-text-copy-field: ^1.0
- spatie/laravel-tags: ^2.1
- spatie/nova-tags-field: ^1.1
- titasgailius/search-relations: ^1.0
- tymon/jwt-auth: ^1.0
- vink/nova-cache-card: ^1.0
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.5
- doctrine/dbal: ^2.8
- filp/whoops: ^2.0
- fzaninotto/faker: ^1.4
- mockery/mockery: ^1.0
- nunomaduro/collision: ^2.0
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-10 23:15:21 UTC
README
A Nova application built by GraphQL
Setup
# pull submodule $ git submodule init $ git submodule update # install dependencies $ composer install # install Nova's service provider and public assets $ php artisan nova:install $ php artisan migrate # generate jwt secret $ php artisan jwt:secret # serve with hot reload at localhost:8000 $ php artisan serve
Register GraphQL
// Register Schema GraphQL::addSchema('default', [ 'query' => [ 'users' => 'App\GraphQL\Query\UsersQuery', ], 'mutation' => [ 'signIn' => 'App\GraphQL\Mutation\SignInMutation', 'authTest' => 'App\GraphQL\Mutation\AuthTestMutation', ], ]); // Register Types GraphQL::addTypes([ 'App\GraphQL\Type\UserType', 'App\GraphQL\Type\AuthTestType', 'App\GraphQL\Type\AccessTokenType', ]);