Skip to content

yash-habilelabs/reddit-clone-react

 
 

Repository files navigation

Reddit clone in React

This project is a part of my bachelor's thesis.

Build Status

Setup

Tested with node v8.x.x.

$ yarn

Running in dev mode

Requires API server, see: https://github.com/markogresak/reddit-clone-backend

$ yarn start

Visit http://localhost:8080/ from your browser of choice. Server is visible from the local network as well.

Build (production)

Build will be placed in the build folder.

$ yarn run build

Running in preview production mode

This command will start webpack dev server, but with NODE_ENV set to production. Everything will be minified and served. Hot reload will not work, so you need to refresh the page manually after changing the code.

yarn run preview

Linting

For linting I'm using eslint-config-airbnb, but some options are overridden to my personal preferences.

$ yarn run lint

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.6%
  • HTML 0.4%