This project is a part of my bachelor's thesis.
Tested with node v8.x.x
.
$ yarn
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 will be placed in the build
folder.
$ yarn run build
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
For linting I'm using eslint-config-airbnb, but some options are overridden to my personal preferences.
$ yarn run lint