Hacker News readers as Progressive Web Apps with React, react-router, redux, Immutable.js
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.bundle
.circleci
.storybook
app
functions
public
test
.babelrc
.editorconfig
.eslintignore
.eslintrc
.firebaserc
.gitignore
.nvmrc
.scss-lint.yml
Gemfile
Gemfile.lock
LICENSE
README.md
devServer.js
firebase.json
jest.config.json
package.json
paths.js
postcss.config.js
webpack.base.config.js
webpack.dev.config.js
webpack.prod.config.js
webpack.server.config.js
yarn.lock

README.md

HNPWA with React Build Status

Hacker News readers as Progressive Web Apps with React, React Router, Redux, Immutable.js

Live Demo: https://hnpwa-react.firebaseapp.com/

Features

  • Framework / UI libraries: React, React Router
  • State Management: Redux, Immutable.js
  • Module Bundling: Webpack
  • Service Worker
  • Performance Patterns
    • Client-side state & DOM hydration
    • Server-side data pre-fetching
    • Preload / Prefetch resources
  • Hosting: Firebase
  • Server Side Rendering with Google Cloud Functions

Prerequisites

$ git clone https://github.com/taehwanno/hnpwa-react.git
$ cd hnpwa-react
$ yarn install
$ bundle install
$ cd functions && yarn install && cd ..

Scripts

# Run dev server at 8080 port
$ yarn start

# Analyze bundle with webpack-bundle-analyzer
$ yarn analyze
$ yarn analyze:cache

# Lint with eslint, scss-lint
$ yarn lint
$ yarn lint:js
$ yarn lint:scss

# Test
$ yarn test
$ yarn test:watch
$ yarn test:coverage

# Build for client, server bundle
$ yarn build
$ yarn build:client
$ yarn build:server

# Run storybook at 9001 port
$ yarn storybook

Storybook

https://taehwanno.github.io/hnpwa-react/

License

MIT © Taehwan, No