A Hacker News clone built with React, Node.js and GraphQL

Hackernews clone

A clone of hackernews built with React, Node.js and GraphQL following the tutorials on https://howtographql.com

Screen.Recording.2022-04-12.at.19.18.36.mov

Technologies

Built with the following technlogies and libraries

Features

  • Users can signup, login and logout
  • Usars can post a new link
  • Users can upvote a link
  • Users can see the posted links
  • Users can search links with specific terms
  • When a link is created or upvoted all users present on the website will get the updated data in real time

Installation

  1. Clone the project

 git clone https://github.com/marconunnari/hackernews-clone
 cd hackernews-clone
  1. Install and run the backend (http://localhost:4000)

cd backend
yarn
yarn prisma migrate dev
yarn start
  1. Install and run the frontend (http://localhost:3000)

cd frontend
yarn
yarn start

GitHub

View Github