https://github.com/radenkovic/koa-apollo-graphql
Minimal boilerplate to run Apollo GraphQL server on Koa 🔥
https://github.com/radenkovic/koa-apollo-graphql
apollo-server apollo-server-koa babel es6 graphql graphql-server koa koa2
Last synced: about 2 months ago
JSON representation
Minimal boilerplate to run Apollo GraphQL server on Koa 🔥
- Host: GitHub
- URL: https://github.com/radenkovic/koa-apollo-graphql
- Owner: radenkovic
- Created: 2017-12-11T22:45:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-17T10:44:24.000Z (over 8 years ago)
- Last Synced: 2025-06-29T18:50:22.873Z (12 months ago)
- Topics: apollo-server, apollo-server-koa, babel, es6, graphql, graphql-server, koa, koa2
- Language: JavaScript
- Size: 48.8 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apollo GraphQL + Koa Boilerplate
Utterly minimal and nice starter / boilerplate for Apollo GraphQL server that
runs on Koa.
[](https://travis-ci.org/radenkovic/koa-apollo-graphql)
[](https://david-dm.org/radenkovic/koa-apollo-graphql)

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](https://github.com/remy/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