GithubHelp home page GithubHelp logo

seandunford / go-kit-graphql-todo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nicolaiskogheim/go-kit-graphql-todo

0.0 2.0 0.0 73 KB

A Todo go-kit microservice experiment, with graphql

Go 94.56% JavaScript 5.44%

go-kit-graphql-todo's Introduction

Todo Microservice

There was a list of technologies I wanted to use for a project, and this todo app is a test to see how that would work.

This is just the server, but you can interact with it with GraphiQL, which is also served on localhost:8080/. As I'm going to use Elm for the frontend in said project, there will soon(-ish) be a client available in another repo for speaking with this server.

Contributing

If you want to, in any way, contribute to this experiment, or if you have questions about anything, feel free to open issues or PR's.

Technology/library roadmap

  • go-kit
  • graphql with graphql-go and granate
  • paging of todos
  • logging (go-kit)
  • instrumenting (prometheus)
  • opentracing (with appdash)
  • client authentication
  • authorisation (in progress)
  • Proxying?
  • Load balancing?
  • Circuit breaking?
  • Throtling?

Roadmap otherwise

  • Todos
  • Users
  • Login

While I'm at it I want to try out a whole bunch of things. The todo service is exposed with graphql, but I want to expose it via a REST-ful api as well. This is both to see if the architecture would allow it without making compromises, and to test whether abstractions are done properly, or if logic leaks where it shouldn't. The REST stuff has low priority, though.

Running

$ cd $PROJECT_ROOT
$ go get . # Install dependencies
$ npm install # or `yarn`
$ gulp

Visit localhost:8080/ to interact with the server through GraphiQL. You can visit localhost:8080/metrics to see data from instrumentation. Use localhost:8080/graphql if you need to speak directly with the GraphQL API.

Inspiration

Resources

go-kit-graphql-todo's People

Contributors

nicolaiskogheim avatar nohac avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.