Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 718 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 718 Bytes

talk-laravel-vue-graphql

This repository contains a very simple example of a GraphQL implementation with PHP, presented for the first time on Laravel SP #17.

Steps to run it:

First install the Composer and NPM depencies:

composer install
npm install

Then copy the .env.example file to .env:

cp .env.example .env

Migrate and seed the database/example.sqlite file:

php artisan migrate --seed

Then generate the Laravel key and start the built in server:

php artisan key:generate
php artisan serve

The server will start on:

http://127.0.0.1:8000

And the GraphiQL will be available on:

http://127.0.0.1:8000/graphiql