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