项目作者: r-park

项目描述 :
Todo app with Create-React-App • React-Redux • Redux-Saga • Firebase • OAuth
高级语言: JavaScript
项目地址: git://github.com/r-park/todo-redux-saga.git
创建时间: 2016-07-07T06:00:44Z
项目社区:https://github.com/r-park/todo-redux-saga

开源协议:MIT License

下载


CircleCI

A simple Todo app example built with Create React App, React Redux, Redux Saga, and Firebase

Try the demo at todo-redux-saga.firebaseapp.com.

Stack

  • Create React App
  • React Redux
  • React Router
  • React Router Redux
  • Redux Saga
  • Redux Devtools Extension for Chrome
  • Firebase SDK with OAuth authentication
  • Immutable
  • Reselect
  • SASS

Quick Start

  1. $ git clone https://github.com/r-park/todo-redux-saga.git
  2. $ cd todo-redux-saga
  3. $ npm install
  4. $ npm start

Deploying to Firebase

Prerequisites:

Configure this app with your project-specific details:

  1. // .firebaserc
  2. {
  3. "projects": {
  4. "default": "your-project-id"
  5. }
  6. }
  1. // src/firebase/config.js
  2. export const firebaseConfig = {
  3. apiKey: 'your api key',
  4. authDomain: 'your-project-id.firebaseapp.com',
  5. databaseURL: 'https://your-project-id.firebaseio.com',
  6. storageBucket: 'your-project-id.appspot.com'
  7. };

Install firebase-tools:

  1. $ npm install -g firebase-tools

Build and deploy the app:

  1. $ npm run build
  2. $ firebase login
  3. $ firebase use default
  4. $ firebase deploy

NPM Commands

Script Description
npm start Start webpack development server @ localhost:3000
npm run build Build the application to ./build directory
npm test Test the application; watch for changes and retest