Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damassi/react-relay-network-modern-ssr-todomvc

Universal Relay TodoMVC app built on top of found-relay and react-relay-network-modern
https://github.com/damassi/react-relay-network-modern-ssr-todomvc

found found-relay react-relay-network-modern react-relay-network-modern-ssr ssr todomvc

Last synced: 9 days ago
JSON representation

Universal Relay TodoMVC app built on top of found-relay and react-relay-network-modern

Awesome Lists containing this project

README

        

# Universal Relay TodoMVC

This is a clone of [found-relay's example](https://github.com/4Catalyzer/found-relay/blob/master/examples/todomvc-modern-universal) but using [`react-relay-network-modern`](https://github.com/nodkz/react-relay-network-modern) plus [SSR middleware](https://github.com/nodkz/react-relay-network-modern-ssr).

## Usage

```shell
yarn install
yarn start
```

Then point your browser at [http://localhost:8080/](http://localhost:8080/).

## Notes

- Most of the code is taken directly from [the official example](https://github.com/relayjs/relay-examples/tree/master/todo) and falls under [the license there](https://github.com/relayjs/relay-examples/tree/master/todo#license).
- The `yarn install` command runs webpack-dev-server, and accepts other options, e.g. `yarn start --port 5000`.