:clipboard: Angular with Firestore-Lite to create very compact code for simple firestore database access
npm i
to install dependencies then…environments/environment.ts
ng serve
for a dev server. Navigate to http://localhost:4200/
- app will automatically reload if you change any of the source filesnpm run build
for a build folder with production configurationng test
to execute the unit tests via Karma.ng e2e
to execute the end-to-end tests via Protractor.
async onLogout(): Promise<void> {
try {
await this.authSvc.signOut();
} catch (error) {
console.log(error);
}
}