GraphQL w/ Laravel & Vue - Lighthouse Package Backend - Part 2

preview_player
Показать описание


# LINKS
Рекомендации по теме
Комментарии
Автор

I can't believe I've only just discovered this channel. Your explanation for the concepts are clear, concise, and practical. Looking forward to finishing this series!

rudolphstamaria
Автор

Really interesting, thank you for creating these videos.

freekmurze
Автор

great series so far, your making GraphQL look more understandable and easier to read than I have seen before, good work keep it up. A continuation with authentication would be super :-) 👍

SimonDaviesOfCourse
Автор

So this is where the project really starts? cool!!!

Thanks andre for this awesome content! You rock!

josuebarros-desenvolvedorw
Автор

Would be awesome to have an episode that would include multiple GraphQL schemas and check playground's support for it

khaledel-eskandarany
Автор

please make a video on subscription using beyondcode laravel websocket and lighthouse

creative-commons-videos
Автор

Fantastic! Thank you very much for sharing. Great work.

EvertonPaiva
Автор

How if we want to filter books in category query ?
you added booksByFeature thats ok but how if i want books related to that category with ratings >3 ?

qadir
Автор

I want to use @update, but my client sends different values from DB how can I do that?

MrFranciscoooooo
Автор

Hi, good tutorial! I'm having a problem with the base url to open graphql playground. It says that the server can't be reached. I guess i'm doing something wrong. where can i find the correct base url?

AdrianaPerez-skjo
Автор

Awesome videos! Any specific reason you don't create the front-end into the same Laravel app?

Spharian
Автор

Hi sir,why for my case I have to use "category_id" instead of "category" in createBook & updateBook!?
I checked the schema and create_book_table =>up(below) exactly the same!


mutation{
updateBook(
id: 26,
title: "new book 2",
author: "me 2",
category_id: 2) {
id
title
author
}
}


public function up()
{
Schema::create('books', function (Blueprint $table) {
$table->increments('id');
$table->string('title');
$table->string('author');






$table->timestamps();
});
}

weizhang
Автор

Hi Andre,
Very helpful.
I have a question though.
Let's say that your site has evolved into a private club of authenticated users sharing their private lists of books (it's just another onetomany relationship between users and books added on top of your schema. Nothing fancy.).
What would be the best way to query all the featured books for a specific user ?
You need to select the books by user id AND by featured=true (2 filters).


My solution:
I've created this query:
booksByFeatured(user_id: Int! @eq, featured: Boolean! @eq): [Book] @all
where user_id is the foreign key for users in my books table.
It seems to work but it feels more like a dirty hack than an elegant solution.


Any suggestion ?

GeraudSchmit
Автор

How can i refresh the graphql playgrounds app🤨? I am windows user

MAHMUDULHASAN-xont
Автор

Hi andre thanks for the tuts. By anychance where do you get the resources for the visual design in ps?

markchriztophermarilag
Автор

Hi, can you do a video on laravel subscription with pusher and lighthouse config. in local and a production server. i am in the mid of something which could 't complete

muhsinzyne
Автор

All these endpoints are query to DB through model. But how to connect graphQL to controller? Sometimes we need not only get some data from DB but also add some logic. BTW really good tutorial ;)

TYPOlight
Автор

Please make videos on how to render Vue or React in the server-side for SEO friendly in Laravel.

qaisarabbas
Автор

Hi, Andre Madarang !
I have question, how to make custom name for field laravel (write transformer / resource). For example I have field my database "image_src" I want to transform (rename) for example to "pictureSrc" in my GraphQL requestion.

TheShowMv
Автор

Do you have any tutorial on how to get the terminal/theme/plugins that you use?

Thanks!

neeonline