- Clone this repo
git clone git@github.com:ihsansatriawan/devcamp-graphql.git
cd devcamp-graphql
- Install dependencies
yarn
- Run for development
yarn start
While developing, you will probably rely mostly on yarn start
; however, there are additional scripts at your disposal:
yarn run <script> |
Description |
---|---|
start |
Serves your app at localhost:4000 . HMR will be enabled. |
build |
Compiles the application to disk (~/dist by default). |
production |
Runs as production environment |