Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - sogko/todomvc-relay-go: React/Relay TodoMVC app, driven by a Golang GraphQL backend
React/Relay TodoMVC app, driven by a Golang GraphQL backend - sogko/todomvc-relay-go
Visit SiteGitHub - sogko/todomvc-relay-go: React/Relay TodoMVC app, driven by a Golang GraphQL backend
React/Relay TodoMVC app, driven by a Golang GraphQL backend - sogko/todomvc-relay-go
Powered by 0x5a.live ๐
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
- Install dependencies for NodeJS app server
npm install
- 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.
- Golang GraphQL server will be running at http://localhost:8080/graphql
- NodeJS app server will be running at http://localhost:3000
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
Made with โค๏ธ
to provide different kinds of informations and resources.