frowhy/gql-nova-app is a Laravel package for a nova application built by graphql.
It currently has 8 GitHub stars and 1 downloads on Packagist (latest version 0.2.2).
Install it with composer require frowhy/gql-nova-app.
Discover more Laravel packages by frowhy
or browse all Laravel packages to compare alternatives.
Last updated
A Nova application built by GraphQL
# 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 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',
]);