Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discussion #2

Open
atherdon opened this issue Jan 8, 2019 · 5 comments
Open

discussion #2

atherdon opened this issue Jan 8, 2019 · 5 comments

Comments

@atherdon
Copy link
Member

atherdon commented Jan 8, 2019

what approach we'll have for our graphql server?
i mean there a lot of servers like yoga or apollo stuff, please advice

@atherdon
Copy link
Member Author

@nadaa what do you think about completing a basic graphql course? or maybe you done it before - please advice

@nadaa
Copy link
Contributor

nadaa commented Jan 10, 2019

@atherdon, I am currently following a course by Andrew Mead. This is my first time with GraphQL.
In the course he uses graphql-yoga, I don't really know the pros and cons of Apolloo vs. Yoga. I realized yoga server is built on express, so we don't need to define an express server.
I will read about Apollo vs. Yoga. and will write it here.

@atherdon
Copy link
Member Author

i think for this moment yoga will suit us perfectly. maybe later - when we finish and test our types, create auth with facebook, display data from our sources - maybe then it'll be important to decide what is better

@nadaa
Copy link
Contributor

nadaa commented Jan 10, 2019

This is taken from the yoga page:

How does graphql-yoga compare to apollo-server and other tools?

As mentioned above, graphql-yoga is built on top of a variety of other packages, such as graphql.js, express and apollo-server. Each of these provides a certain piece of functionality required for building a GraphQL server.
Using these packages individually incurs overhead in the setup process and requires you to write a lot of boilerplate. graphql-yoga abstracts away the initial complexity and required boilerplate and lets you get started quickly with a set of sensible defaults for your server configuration.

graphql-yoga is like create-react-app for building GraphQL servers.

https://github.com/prisma/graphql-yoga

@atherdon
Copy link
Member Author

ok, this is solved for me. i'm big fan of create-react-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants