Seed for angular CLI application with Material Design and Firebase as a backend.
This project was generated with Angular CLI
- We recommend Visual Studio Code for code editing
- Install Node.js
- Install git
In Command Prompt run:
npm install -g @angular/cli
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Navigate to your working folder and run:
git clone https://github.com/Azmo/angular-material-firebase-seed.git
Go inside angular-material-firebase-seed folder and run
npm install
ng build
Get:
- App ID
- App secret
- OAuth redirect URI
- Create new project on Firebase
- Go to Firebase console -> Authentication -> SIGN-IN METHOD (https://console.firebase.google.com/project/{PROJECT-NAME}/authentication/providers) and enable Google and Facebook Providers
- Update app name in the package.json file
- Update project names in the .firebaserc file
- Update project name in the .angular-cli.json
- Go to general project settings on Firebase console (https://console.firebase.google.com/project/{PROJECT-NAME}/settings/general/) click "Add Firebase to your web app", copy config and update firebaseConfig variable in app.module.ts
- Search and replace all "seed" words in the project
We use Firebase for hosting, backend and database. How to deploy Angular CLI apps to Firebase
npm install -g firebase-toolsfirebase loginfirebase initng build -prodfirebase deploy -P dev
We use Angular Material to develop UI following Material design guidelines Material icons
Angular Flex Layout Layout Demos
We use Travis CI for continuous integration and deployment to Firebase. Travis CI Firebase Deployment
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.