Run this command in order to install the dependencies
$ yarn
or alternatively...
$ npm install
Env variable | Description | Example |
---|---|---|
GRAPHQL_URL |
This is the endpoint to the GraphQL server. | GRAPHQL_URL=http://localhost:4000/ |
This next command will start a server by default on port 3000
$ npm run dev
These are the running orders, depending who is rendering the application.
- app.getInitialProps
- page.getInitialProps
- document.getInitialProps
- app.render
- page.render
- document.render
- document.getInitialProps
- app.render
- page.render
- document.render
- app.getInitialProps
- page.getInitialProps
- app.render
- page.render