Ionic4 sidemenu firebase5 app
Test your first ionic 4 with firebase 5 app in 9 steps.
Pre requirements:
1 Install Node.js on your computer.
2 In the command line put $npm install -g ionic
Installation
1 You need to create a Firebase Project and Enable Email/Password authentication, so please create an account in firebase.google.com
2.Download and unzip the file.
3.Create your project with Ionic CLI.
$ ionic start myApp sidemenu
4.Go to your Project.
$cd myApp/
5.Add dependencies to your project.
$ npm install firebase angularfire2 --save
6.Replace myApp/src folder with unzipped src folder.
7.Update the content of the file myApp/src/environments/environment.ts with info of your firebase data. The content attached is just an example.
export const firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: ""
};
8. Run $ionic serve
9. Done and test!