Skip to content

sogko/todomvc-relay-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todomvc-relay-go

Port of the React/Relay TodoMVC app, driven by a Golang GraphQL backend

Parts and pieces

Notes:

This is based on alpha version of graphql-go and graphql-relay-go. Be sure to watch both repositories for latest changes.

Installation

  1. Install dependencies for NodeJS app server
npm install
  1. Install dependencies for Golang GraphQL server
go get -v ./...

Running

Start a local server:

npm start

The above command will run both the NodeJS app server and Golang GraphQL server concurrently.

Developing

Any changes you make to files in the js/ directory will cause the server to automatically rebuild the app and refresh your browser.

If at any time you make changes to data/schema.go, stop the server, regenerate data/schema.json, and restart the server:

npm run update-schema
npm start

About

React/Relay TodoMVC app, driven by a Golang GraphQL backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published