Coder Social home page Coder Social logo

suniltaneja / todo-angular2-firebase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r-park/todo-angular-firebase

0.0 1.0 0.0 755 KB

Todo app with Angular2 • AngularFire2 • Firebase • OAuth • Webpack2

Home Page: https://ng2-todo-app.firebaseapp.com

License: MIT License

JavaScript 21.19% CSS 21.29% TypeScript 48.79% HTML 8.73%

todo-angular2-firebase's Introduction

CircleCI

Todo app with Angular2, AngularFire2, and Firebase SDK 3

A simple Todo app example built with Angular2 and AngularFire2. The app features a Firebase backend with OAuth authentication. Try the demo at ng2-todo-app.firebaseapp.com.

  • Angular2 2.2.0
  • Angular2 Router 3.2.0
  • AngularFire2 2.0.0-beta.5
  • Firebase SDK 3
    • JSON Datastore
    • OAuth authentication with GitHub, Google, and Twitter
    • Hosting
  • RxJS
  • SASS
  • Typescript
  • Webpack
    • Inlines external SCSS files
    • Inlines external HTML templates
    • Bundles and minifies release builds
    • Injects style and script tags into index.html

Quick Start

$ git clone https://github.com/r-park/todo-angular2-firebase.git
$ cd todo-angular2-firebase
$ npm install
$ npm start

Deploying to Firebase

Prerequisites:

Configure this app with your project-specific details:

// .firebaserc

{
  "projects": {
    "default": "your-project-id"
  }
}
// src/firebase/index.ts

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

Commands

Script Description
npm start Start webpack development server @ localhost:3000
npm run build Lint, test, and build the application to ./target
npm run lint Lint .ts and .js files
npm run lint:js Lint .js files with eslint
npm run lint:ts Lint .ts files with tslint
npm run server Start express server @ localhost:3001 to serve built artifacts from ./target (must run npm run build first)
npm test Run unit tests with Karma and Jasmine
npm run test:watch Run unit tests with Karma and Jasmine; watch for changes to re-run tests

todo-angular2-firebase's People

Contributors

r-park avatar sbolel avatar ykoehler avatar thehashrocket avatar lukeschlangen avatar

Watchers

Sunil Taneja avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.