/beautifulife-relay-app-example

A graphql relay client example application

Primary LanguageTypeScript

beautifulife-relay-app-example

A graphql relay client example application, created from my experience

This project was made for the presentation

Directory structure

You should use the structure below

root
├── server
└── client

Server Project

This project needs graphql-client-example-server

graphql-client-example-server

Available Scripts

In the project directory, you can run:

  1. Development Environment
$ yarn install
$ yarn relay
$ yarn start
# visit http://localhost:3000
  1. Production Environment
$ yarn install
$ yarn build
$ yarn global add serve
$ serve -s build

Screen Shot 2021-01-16 at 3 20 45 AM