React/GraphQL/Apollo sample application
- npm
- yarn
- Download the project from the repo and extract it
- In a terminal window, navigate to the extracted project folder and run
yarn install
to add any missing dependencies. - In another terminal window, navigate to the server folder and run
yarn install
here as well. - Run
yarn upgrade-interactive --latest
in both the top of the project folder and within the server directory to ensure you have the latest dependencies. Upgrade any dependencies, if avaialable. - Run
yarn start
in the server directory. The server will be running at localhost:4000 - Back in the top directory, run
yarn start
, this will launch the web app at localhost:3000 where you can create new posts, upvote them, etc.