Skip to content

meumobi/mmb-demos.crud-angularfirestore-ionic4

Repository files navigation

build status

mmb-demos.crud-angularfirestore-ionic4

Tutorial Create a CRUD App with Ionic 4, Firestore and AngularFire 5.2+

Getting started

Prerequisites

Download the installer for Node.js 6 or greater. Install both [Ionic].

$ npm install ionic typescript @angular/cli -g
...

$ npm ls -g cordova ionic npm typescript @angular/cli --depth 0
/Users/victor.dias/.nvm/versions/node/v12.6.0/lib
├── @angular/cli@8.3.3 
├── cordova@9.0.0 
├── ionic@5.2.7 
├── npm@6.9.0 
└── typescript@3.6.2 

Usage

  1. Run
  • git clone https://github.com/meumobi/mmb-demos.crud-angularfirestore-ionic4.git crud-angularfirestore-ionic4.
  • cd crud-angularfirestore-ionic4
  • npm install
  1. Create a project at https://firebase.google.com/ and grab your web config:

  1. Add the config to your Angular environment

src/environments/

Update the environment.prod.ts and environment.ts files.

export const environment = {
  production: false,
  firebase: {
    apiKey: 'APIKEY',
    authDomain: 'DEV-APP.firebaseapp.com',
    databaseURL: 'https://DEV-APP.firebaseio.com',
    projectId: 'DEV-APP',
    storageBucket: 'DEV-APP.appspot.com',
    messagingSenderId: '...',
    appId: '...',
  }
};
  1. Run ionic serve
  2. Profit. 🎉

Todo

Development workflow tools

UI/UX

Firebase hosting & deploy

Build PWA and native App

3rd party integration

  • Google Analytics
  • Slack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published