Angular2 App with Firebase. Try the demo at https://project-management-app-292f1.firebaseapp.com/.
- Angular 2
- AngularFire2
- Firebase SDK
- RxJS
- SASS
- TypeScript
- Create a free Firebase account at https://firebase.google.com
- Create a project from your Firebase account console
- Configure the authentication providers for your Firebase project from your Firebase account console
Edit .firebaserc
in the project root:
{
"projects": {
"default": "your-project-id"
}
}
Edit the firebase configuration in src/environments/firebase.ts
export const firebaseConfig = {
apiKey: 'your api key',
authDomain: 'your-project-id.firebaseapp.com',
databaseURL: 'https://your-project-id.firebaseio.com',
storageBucket: 'your-project-id.appspot.com'
};
$ npm install -g firebase-tools
$ npm run build
$ firebase login
$ firebase use default
$ firebase deploy
Script | Description |
---|---|
npm start |
Start development server @ localhost:4200 |
npm run build |
build the application to ./dist |
npm run lint |
Lint .ts files |