A simple boilerplate to create a tentacool service!
A simple boilerplate using graphql to create a service with layers of middlewares and a simple folder structure, this project is only for studies feel free to fork and send pull request to help me to evolue.
Kraken have the following features:
- β‘ Graphql-Yoga β Fully-featured GraphQL Server basead em express and apollo-server
- π‘οΈ Graphql-Middleware β To create your middlewares in resolvers (with exceptions list of resolvers)
- π© Babel β ES6 syntax
- π₯ Jest β Jest, for your tests
- βοΈ ESlint β To clean and beautiful code (Airbnb styleguide)
- Clone this repo using
https://github.com/wendelfreitas/kraken.git
- Move to the appropriate directory:
cd kraken
. - Run
yarn
ornpm install
to install dependencies. - Set your
MONGO_URL
in env. - Run
npm start
to see the example app athttp://localhost:4000/playground
.
npm start
- start the playground athttp://localhost:4000/playground
MIT license, Copyright (c) 2019 Wendel Freitas.