An open API service indexing awesome lists of open source software.

https://github.com/sainiabhishek/shopping_application

An angular framework based application that demonstrate the functionalities of the same.
https://github.com/sainiabhishek/shopping_application

angular authentication bootstrap firebase firebase-auth firebase-realtime-database ngrx

Last synced: 3 months ago
JSON representation

An angular framework based application that demonstrate the functionalities of the same.

Awesome Lists containing this project

README

          

# Shopping Application

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.6.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## About

An angular framework based application that demonstrate the functionalities of the same. This project has been done under the course 'Angular - The Complete Guide' on the udemy. It uses the Firebase Realtime Database.

## Topics
- Bootstrap
- Authentication
- NgRx (https://ngrx.io/) (https://github.com/ngrx/platform/tree/master/projects)

## Authentication

For handling the Login and Sign up form we are using Template Driven approach.




Using the `Firebase Database` service to perform authentication, save and fetch data.




To set up the Firebase replace these values in the environment file
`firebaseApiKey, firebaseAuthApi & firebaseDatabaseUrl`.




Firebase Auth REST Api: (https://firebase.google.com/docs/reference/rest/auth)




Programmatically load a component to show the error message while logging or singing up.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).