##Description: This is a complete bundle for development of the app on AngularJS 2 + Firebase ( REST Backend ) + Bootstrap 3 tech stack. Simple blog and authorization are implemented as a demo
##Requirments:
- Angular CLI - Angular-cli github
- Typings - Typings github
##Boilerplate includes:
- Module for user authorisation (Firebase Auth Basic):
- sign up
- sign in
- Module for posts management
- view
- create
- edit
- delete
##Boilerplate doesn't include:
- ACL, each authenticated user can manage posts
- Current version not includes tests
- UI Errors - all errors displays in console
#Installation:
cd project_foldernpm installcp src/environments/environment.example.ts src/environments/environment.ts- add configuration for firebase app in file
src/environments/environment.ts ng serve- server will up on http://localhost:4200
#Included Classes
###SharedHelperService
Service for common functions. It includes one function for check authentication status of user, at current moment.
###PostsModule
Module manipulates posts (display, create, edit, delete)
###AuthModule
Module works with Firebase Basic Auth. It does all necessary operation for provide valid authentication. Also provides two router guards for check "is user guest" and "is user authenticated"