/relay-todo-example-dockerized

dockerize the relay-examples todo app to understand dockerizine relay apps -still dont but this works

Primary LanguageJavaScript

Relay TodoMVC

Installation

npm install

Running

Set up generated files:

npm run update-schema
npm run build

Start a local server:

npm start

Run with Docker

docker run --rm -d -p 3000:3000 idkjs/relay-examples-to-docker:latest

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.js, stop the server, regenerate data/schema.graphql, and restart the server:

npm run update-schema
npm run build
npm start

License

This file provided by Facebook is for non-commercial testing and evaluation
purposes only.  Facebook reserves all rights not expressly granted.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.