简体   繁体   中英

What to use for graphql with nodejs

I started looking into graphql to use it as a server in the next project instead of REST. As I started I was bombarded with lots of options. graphql-yoga , express-graphql , apollo and so on

I want to know which one is the most widely used option and has a comparatively large community.

According to https://www.npmjs.com/

  • apollo-server-express - 997,081 downloads/week
  • express-graphql - 375,403 downloads/week
  • graphql-yoga - 24,100 downloads/week

As per ease of use,

I think it is better start & learn with express-graphql as it is easier. After understanding graphql you can then start learing & using apollo-server-express and use it for any further purposes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM