Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Thursday, July 13, 2017

300 Firebase Set Up For Ionic Project


.
300 Firebase Set Up For Ionic Project

1) Create Firebase Project

Create a Firebase project in the Firebase console, if you don't have one.



  • Click Add Firebase to your web app.
  • Note the initialization code snippet, which you will use in a minute.
    authDomain: "notarazicom.firebaseapp.com",
   databaseURL: "https://notarazicom.firebaseio.com",
   storageBucket: "notarazicom.appspot.com",

2) Run a Local Web Server for Development

If you are building a web app, you will find that some parts of the Firebase JavaScript SDK require that your web app be served from a server rather than from the local filesystem. You can use the Firebase CLI to run a local server like this:
$ npm install -g firebase-tools
$ firebase init    # Generate a firebase.json (REQUIRED)
$ firebase serve   # Start development server
firebase login
firebase init
Associate Local Project Directory to Firebase Project
Database Setup
Functions Setup
Hosting Setup
Web Page Setup
firebase serve
CTRL+C to shutdown localhost server
firebase logout
Firebase Command Summary
(go into new local project directory)
firebase login
firebase init
firebase serve
firebase logout

.

No comments:

Post a Comment