democratic

module
v0.0.0-...-6db2301 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2018 License: MIT

README

democratic

Golang skeleton for GraphQL API with Echo framework

Go Version Build Status Codebeat License PRs Welcome

It's a small API project based on Echo framework, and GraphQL. Supports GraphQL queries and GraphQL Mutations. Feel free to contribute!

Features

  • Configuration by enviroment
  • Resolvers
  • Schemas
  • Flag parser
  • Auth middleware
  • Metrics with Prometheus

Requirements

  • Govendor
  • Golang 1.9

Installation

From source

You can use Clone from Github and run make run

To set the correct environment you should use: -e flag (dev is default)

Usage example

curl -XGET http://localhost:8888/graphql\?query\=%7Buser(id%3A%22test%22)%7Busername%7D%7D

Contribute

We would love you for the contribution to democratic, check the LICENSE file for more info.

Meta

Vinicius Souza – @iamvsouzahi@vsouza.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/vsouza/democratic

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL