teronhexi's avatar

Best GraphQL implementation

Hello,

Im building a decoupled application using laravel, currently im building resources for everyone API endpoint but I find that there is much to gain.

I have used Lighthouse for Laravel before for my final school project and got used to it, however I was a bit new to laravel back then and have been working professionally for three years now.

I read a topic on this sub from two years ago but there was not much engagement.

Therefore I’m posing this question again since a lot can change in our field, what is your experience for maintainability and easy-of use. Which implementation has your preference and why do you not use the other one.

Also; I’m not 100% convinced it is the best approach for my situation, I just want to discover good future-proof options.

Im curious for your input!

0 likes
2 replies
MaricelaSilva's avatar

Hy there i can see your post and i must say

Lighthouse for GraphQL:

Pros:

GraphQL provides flexibility in data fetching, allowing clients to request only the data they need, reducing over-fetching and under-fetching. Lighthouse is a popular and well-documented package that simplifies GraphQL implementation in Laravel. It provides features like query batching, authentication, and authorization out of the box. Cons: https://www.militarystarcard.net/

GraphQL can have a steeper learning curve if you're not already familiar with it. While Lighthouse simplifies GraphQL implementation, it introduces a new layer of complexity compared to traditional REST APIs.

Thanks and regards MaricelaSilva

teronhexi's avatar

Hello,

Im building a decoupled application using laravel, currently im building resources for everyone API endpoint but I find that there is much to gain.

I have used Lighthouse for Laravel before for my final school project and got used to it, however I was a bit new to laravel back then and have been working professionally for three years now.

I read a topic on this sub from two years ago but there was not much engagement.

Therefore I’m posing this question again since a lot can change in our field, what is your experience for maintainability and easy-of use. Which implementation has your preference and why do you not use the other one.

Also; I’m not 100% convinced it is the best approach for my situation, I just want to discover good future-proof options.

Im curious for your input! https://9apps.ooo/

I got this,...

Please or to participate in this conversation.