# Hive Common


## About

This package contains a few libraries shared between all projects developed by Hive.

Currently all development are made using [Ionic 3](https://ionicframework.com/).

## Installation

```shell
$ npm i --save hive-common
```

## Content

### Providers

#### Firebase

```javascript
//Used to encapsulate all the Authentication Logic with Firebase Authentication.
AuthProvider;

//Used to encapsulate basic comunication with Firebase Firestore, such as get Collections and Documents and save or retrieve data from them.
FirestoreProvider;

//Used to encapsulate basic comunication with Firebase Firestore to retrieve and save data from current authenticated user.
UsersFirestoreProvider;

//Used to encapsulate basic comunication with Firebase Storage to store files.
StorageProvider;
```

#### Ionic
```javascript
//Used for presenting alerts with Ionic's AlertController.
AlertProvider;

//Used for presenting loaders with Ionic's LoadingController.
LoaderProvider;

//Used for presenting toasters with Ionic's ToastController.
ToasterProvider;
```

#### Browser
```javascript
//Used to save and retrieve data on browser's Session Storage.
SessionStorageProvider;
```