Skip to content

radenkovic/koa-apollo-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo GraphQL + Koa Boilerplate

Utterly minimal and nice starter / boilerplate for Apollo GraphQL server that runs on Koa.

Build Status dependencies Status

Apollo GraphQL, Koa Server

Includes:

  • Koa 2 ✨
  • Apollo GraphQL Server (with GraphiQL)
  • GraphQL Tools
  • ES6 Out of the box (Babel) 🤘
  • Nice Linter
  • Travis Builds
  • Out-of-the-box working example 💥

Installation

  1. git clone https://github.com/radenkovic/koa-apollo-graphql graphql-server
  2. cd graphql-server
  3. yarn

Scripts

  1. yarn run dev -- spins a dev server, you need nodemon installed globally (npm i -g nodemon)
  2. yarn run build -- compiles ES6 code in /dist folder
  3. yarn start -- starts production server from /dist folder
  4. yarn run lint -- lints src files and tries to fix them