/react-hot-redux-firebase-starter

:volcano: React + Redux + Firebase + Webpack + React Hot Loader 3 + React Router in one boilerplate

Primary LanguageJavaScriptMIT LicenseMIT

Firebase 3.0 Starter using React Redux

This is a Firebase 3.0 start using React and Redux.

It uses the latest version of libraries, including the brand new React Hot Loader (still beta)

Stack

  • React
    • React 15.1.0
    • React Hot Loader 3.0.0-beta.2
    • React Router 2.4.1
  • Redux
    • Redux 3.5.2
    • React Redux 4.4.5
    • React Router Redux 4.0.4
    • Redux Thunk 2.1.0
    • Redux Dev Tools
  • Webpack
    • Webpack 1.13.1
    • Webpack Dev Middleware 1.6.1
    • Webpack Hot Middleware 2.10.0
  • Firebase
    • Firebase 3.0.3
  • Linting
    • Eslint 2.11.1
  • Styles
    • Bootstrap 3.3.6
  • Testing
    • Mocha 2.5.3
    • Enzyme 2.3.0

Features

  • Firebase:
    • Auth
      • Authentication setup (Registration/Login)
      • state.user sync with Firebase Auth
      • Protected routes (needs to be logged in)
      • Store users on '/users/<user.uid>'
      • Admin flag on user ('/isAdmin/<user.uid>' :: bool)
      • Admin Protected routes (needs to be logged in)
    • Database
      • Set example
      • Query example

Usage

git clone git@github.com:douglascorrea/react-hot-redux-firebase-starter.git
cd react-hot-redux-firebase-starter
npm install
npm start -s

Development Tasks

  • npm start run the web app with lint and tests in watch mode
  • npm run lint linting javascript code usig eslint
  • npm run test test using mocha and enzyme

Roadmap

Check our roadmap issues