This is a HackerNews clone built with React, Apollo, GraphQL. For the backend, see this repo.
- Clone this repo
git clone https://github.com/thegeorgenikhil/hackernews-apollo-graphql
- Install dependencies
cd hackernews-apollo-graphql
yarn
- Create a .env file in the root directory and add the following
REACT_APP_GRAPHQL_ENDPOINT=<your-graphql-endpoint-url>
if you are using the backend from the above repo, the endpoint would be http://localhost:8080/graphql
- Start the app
yarn start