Skip to content

A tutorial of GraphQL with Node.js & Koa & MongoDB 😇

Notifications You must be signed in to change notification settings

evershy/graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql

A tutorial of GraphQL with Node.js & Koa & MongoDB

Getting Started

Checkout this repository:

git clone https://github.com/evershy/graphql.git

Install dependencies and devDependencies:

cd graphql

npm install

The tutorial use Koa, a expressive HTTP middleware framework for node.js, to run a web server; MongoDB to store data; apollo-server-koa to make a graphql server accessible.

dependencies
  • Koa: Expressive middleware for node.js using ES2017 async functions.
  • koa-router: Router middleware for koa.
  • koa-bodyparser: A body parser for koa.
  • graphql: A reference implementation of GraphQL for JavaScript.
  • apollo-server-koa: This is the Koa integration of Apollo Server. Apollo Server is a community-maintained open-source Apollo Server that works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa and Restify.
  • mongoose: Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment.
devDependencies
  • nodemon: Monitor for any changes in your node.js application and automatically restart the server - perfect for development.

License

MIT

About

A tutorial of GraphQL with Node.js & Koa & MongoDB 😇

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published