Giter Site home page Giter Site logo

tja4472 / ngrx-ionic-angularfire Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 6.0 1.25 MB

Ionic 3.9.2, ngrx & angularfire

JavaScript 2.83% TypeScript 82.72% HTML 13.04% CSS 1.40%
angularfire ionic ngrx firebase firebase-realtime-database firebase-firestore crud

ngrx-ionic-angularfire's Introduction

Gadget

Gizmo

Widget

my-firebase-app-config.ts

import { FirebaseAppConfig } from 'angularfire2';

export const MyFirebaseAppConfig: Readonly<FirebaseAppConfig> = {
  apiKey: 'xxxxxx',
  authDomain: 'xxxxxx',
  databaseURL: 'xxxxxx',
  messagingSenderId: 'xxxxxx',
  projectId: 'xxxxxx',
  storageBucket: 'xxxxxx',
};

State

  • auth
    • displayName
    • email
    • error
    • hasChecked
    • isAuthenticated
    • isAuthenticating
    • userId
  • collection
    • loaded
    • loading
    • textItems
      • 0
        • description
        • title
      • 1
        • description
        • title
  • gadget
    • ids
      • 0: "aa"
      • 1: "bb"
    • entities
      • aa
        • description
        • id
        • name
      • bb
        • description
        • id
        • name
    • selectedWidgetId
  • wgizmo
    • ids
      • 0: "aa"
      • 1: "bb"
    • entities
      • aa
        • description
        • id
        • name
      • bb
        • description
        • id
        • name
    • selectedGizmoId
  • widget
    • ids
      • 0: "aa"
      • 1: "bb"
    • entities
      • aa
        • description
        • id
        • name
      • bb
        • description
        • id
        • name
    • selectedWidgetId

ngrx 4.1.1

Actions

Using example-app/book.ts as pattern.

Action doc

Reducers

https://github.com/ngrx/platform/blob/master/example-app/app/auth/reducers/auth.ts

https://github.com/ngrx/platform/blob/master/docs/entity/adapter.md#createentityadapter

ngrx-ionic-angularfire's People

Contributors

tja4472 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.