Skip to content

uzysjung/UzysHapiReactBoilerplate

Repository files navigation

UzysHapiReactBoilerplate

A boilerplate project with Hapi.js + React + Redux + Webpack

Introduction

UzysHapiReactBoilerplate is A boilerplate project with Hapi.js + React + Redux + Webpack

  • Based on Hapi.js 15 and React 15
  • Including redux - jwt Authentication Example (Server and Client)
  • Including redux-thunk , axios data fetching example.

Module

Client

  • React
  • Redux , React-Redux
  • React-Router , React-Router-Redux
  • Radium
  • Redux-thunk
  • Axios
  • React-Bootstrap , Font-Awesome
  • Webpack - CSS , Less , SCSS modules
  • Babel 6
  • React Router
  • Redux DevTools
  • Eslint
  • React Hot Loader

Server

  • Hapi
  • Hapi-swagger
  • Hapi-pino
  • hapi-auth-jwt2
  • scooter
  • knex

NPM Script

  • npm run build : build app
  • npm run dev : api + client (React Hot Loader)
  • npm run devapi : api only
  • npm test : run test
  • npm run coverage : run test and make report file (coverage.html)
  • npm run dep : dependency check
  • npm run outdated : check outdated npm module
  • npm run debug : run debug mode

Demo

  • npm run dev
  • Hapi Swagger ( endpoint : /documentation) password uzysjung:uzysjung
  • Demo Page ( endpoint : /)

About

A boilerplate project with Hapi.js + React + Redux + Webpack

Resources

License

Stars

Watchers

Forks

Packages

No packages published