DEV Community

Cover image for Laravel GraphQL demo app
Jose Luis Fonseca
Jose Luis Fonseca

Posted on • Edited on

Laravel GraphQL demo app

In the last few months i've been working on a series of videos (18 in total) where I talked about how to create a GraphQL server with Laravel and then I added a Vue JS frontend, the videos are in Spanish and they were part of a small series of screencast I was doing at the time due to the Covid lockdown.

I've decided to finish the demo app and put it online for anyone who wants to see a way of doing this kind of work and maybe it can also be education material some who ever wants to start writing GraphQL APIs with Laravel.

I hope this is useful for some people!

The code is in Github!




Happy Coding!

Top comments (8)

Collapse
 
agitri profile image
agitri

Hey man, i saw u dockerized it yourself, for laravel there is this awesome docker environment called laradock it can really save you alot of docker pain :)

Collapse
 
mdhesari profile image
Mohammad Fazel

I have problem installing soap cli extension using laradock and also php-worker for queues are not working properly, can you give some help?

Collapse
 
agitri profile image
agitri • Edited

try and call a : apt-get update && \

before you call the soap installation candidate

and i usually dont have a problem with the queues, maybe try a clean install for a project create a queue and see what happens.

Thread Thread
 
mdhesari profile image
Mohammad Fazel

Thank you! I will try

Collapse
 
joselfonseca profile image
Jose Luis Fonseca

hey there, yeah i've heard about Laradock, but I am not currently having any docker pain so we are cool there!. Thanks for sharing.

Collapse
 
thavoo profile image
Gustavo Herrera

Great work. Thanks for sharing.

Collapse
 
facubertran profile image
Facundo Bertran

Hola Jose Luis.
Estoy haciendo un proyecto en Laravel y GraphQL, segui todo tu curso. Estoy estancado en una relacion muchos a muchos que no puedo hacer en graphql. Esta hecha en eloquent pero no logro trasladarla al esquema de graphql. Tienes alguna pista?

Collapse
 
joselfonseca profile image
Jose Luis Fonseca

En realidad es muy sencillo, hay un directive para eso lighthouse-php.com/5.3/eloquent/re...