Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 810 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 810 Bytes

hackernews

React/GraphQL/Apollo sample application

Requirements

  • npm
  • yarn

Running the app

  1. Download the project from the repo and extract it
  2. In a terminal window, navigate to the extracted project folder and run yarn install to add any missing dependencies.
  3. In another terminal window, navigate to the server folder and run yarn install here as well.
  4. 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.
  5. Run yarn start in the server directory. The server will be running at localhost:4000
  6. 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.