In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
By default, this points to the tweet app Slash GraphQL endpoint. You can change this by starting the app with the following environment variable
REACT_APP_GRAPHQL_ENDPOINT=https://beneficial-baseball-9463.us-west-2.aws.cloud.dgraph.io/graphql npm start
The quickest way to add a new page would be to
- Clone the src/components/home.js, and save it to your new type. Change the default exported constant from Home to whatever your page is
- Add the page to the routes in src/App.js