A simple app thats shows how to use GraphQL in Laravel
Clone the project repository by running the command below if you use SSH
git clone git@github.com:ammezie/laravel-graphql-tasks.git
If you use https, use this instead
git clone https://github.com/ammezie/laravel-graphql-tasks.git
After cloning,run:
composer install
Duplicate .env.example
and rename it .env
Then run:
php artisan key:generate
Be sure to fill in your database details in your .env
file before running the migrations:
php artisan migrate
And finally, start the application:
php artisan serve
and visit http://localhost:8000/graphiql to see the application in action.