ArturW1998 / HackerNews

Hacker News API on React (React + Jest + Enzyme)

Home Page:https://arturw1998.github.io/HackerNews/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hacker News Application

Simple React Hacker News Application

Demo

Provides

  • react ^16.x
  • jest 24.x
  • enzyme 3.x

To install

  • You'll need to have git and node installed in your system.

git clone https://github.com/ArturW1998/HackerNews.git

  • Then install the dependencies:

npm install

Run development server

  • webpack-dev-server 3.x

npm start

Open the web browser to http://localhost:3000/

To build the production package

  • webpack 4.x
  • babel 7.x

npm run build

Code Quality

  • eslint 6.x
  • stylelint 12.x
  • prettier 1.x

To do the actual linting and formatting, run:

npm run lint / npm run lint:styles / npm run format / npm run format:styles

Unit Testing

  • jest 24.x
  • enzyme 3.x

To run tests using Jest and Enzyme:

npm test

Contribute

Please contribute to the project if you know how to make it better, including this README :)

About

Hacker News API on React (React + Jest + Enzyme)

https://arturw1998.github.io/HackerNews/

License:MIT License


Languages

Language:JavaScript 86.0%Language:CSS 8.4%Language:HTML 5.6%