Utterly minimal and nice starter / boilerplate for Apollo GraphQL server that runs on Koa.
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 💥
git clone https://github.com/radenkovic/koa-apollo-graphql graphql-server
cd graphql-server
yarn
yarn run dev
-- spins a dev server, you need nodemon installed globally (npm i -g nodemon
)yarn run build
-- compiles ES6 code in/dist
folderyarn start
-- starts production server from/dist
folderyarn run lint
-- lints src files and tries to fix them