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 installto add any missing dependencies. - In another terminal window, navigate to the server folder and run
yarn installhere as well. - Run
yarn upgrade-interactive --latestin 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 startin 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.