Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 1.84 KB

README.md

File metadata and controls

87 lines (68 loc) · 1.84 KB

CircleCI

Teal Doocrate

Try the demo at https://doocrate.firebaseapp.com.

Stack

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

Quick Start

$ git clone https://github.com/metaburn/doocrate.git
$ cd doocrate
$ npm install
$ npm start

Admins

Import the file under assets/database-example.json and add the uid of the app admins

Only admins can write new tasks at the moment

Deploying to Firebase

Prerequisites:

Configure this app with your project-specific details:

// .firebaserc

{
  "projects": {
    "default": "your-project-id"
  }
}
// src/firebase/config.js

export const firebaseConfig = {
  apiKey: 'your api key',
  authDomain: 'your-project-id.firebaseapp.com',
  databaseURL: 'https://your-project-id.firebaseio.com',
  storageBucket: 'your-project-id.appspot.com'
};

Install firebase-tools:

$ npm install -g firebase-tools

Build and deploy the app:

$ npm run build
$ firebase login
$ firebase use default
$ 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