# Service/providers/helpers/guard/resolver/Dao Name

Here, explain the purpose of the Service, how it works...

## Issues to be closed before

(Issues list)

- [ ] [issue 1](gitlab.com/project/issues/numero)
- [ ] [issue 2](gitlab.com/project/issues/numero)

## TODO

(task list)

- [ ] task 1
- [ ] task 2

**REMOVE ALL THE BELOW PARAGRAPHS EXCEPT THE RELEVANT ONE**

## DAO

Dao

### Specific Dao functions

Examples: search, sort data, partial update,...

- [ ] function
- [ ] function

### Estimation

| file | type                        | points | value | unit     |
| ---- | --------------------------- | ------ | ----- | -------- |
| dao  | initialization              | 1      | 0     | service  |
| dao  | nb of special Dao functions | 6      | 0     | function |

## API-service

this service is used to manage the call to the backend

### Estimation

| file        | type           | points | value | unit    |
| ----------- | -------------- | ------ | ----- | ------- |
| service     | initialization | 8      | 0     | service |
| API-service | nb of route    | 2      | 0     | route   |

## Authentification-service

this service deals with the management of the connection and the token

### Estimation

| file                     | type           | points | value | unit                                    |
| ------------------------ | -------------- | ------ | ----- | --------------------------------------- |
| service                  | initialization | 56     | 0     | service                                 |
| Authentification-service | nb of auth     | 16     | 0     | type d'authentification (fb/google/...) |

## fcm

this service handles push notifications

### Estimation

| file    | type           | points | value | unit         |
| ------- | -------------- | ------ | ----- | ------------ |
| service | initialization | 44     | 0     | service      |
| fcm     | nb of notif    | 8      | 0     | notification |

## auth guard

this guard manages page access based on the logged in user

### Estimation

| file       | type           | points | value | unit                                    |
| ---------- | -------------- | ------ | ----- | --------------------------------------- |
| guard      | initialization | 16     | 0     | guard                                   |
| auth guard | nb of auth     | 8      | 0     | type d'authentification (fb/google/...) |

## guard

this guard manages the access to the pages according to the existence or not of values

### Estimation

| file  | type           | points | value | unit  |
| ----- | -------------- | ------ | ----- | ----- |
| guard | initialization | 4      | 0     | guard |
| guard | nb of test     | 4      | 0     | test  |

## helper

class with static function

### Estimation

| file   | type            | points | value | unit     |
| ------ | --------------- | ------ | ----- | -------- |
| helper | initialization  | 1      | 0     | service  |
| helper | nb of functions | 3      | 0     | function |

## resolver

get some data before navigation on route

### Estimation

| file     | type                 | points | value | unit     |
| -------- | -------------------- | ------ | ----- | -------- |
| resolver | initialization       | 2      | 0     | resolver |
| resolver | nb of entity to load | 3      | 0     | entity   |

## other

| file      | work                   | points | value | unit    |
| --------- | ---------------------- | ------ | ----- | ------- |
| package   | library node to add    | 7      | 0     | library |
| navigator | cookies/indexedDB used | 3      | 0     | cookie  |
| cordova   | nb of plugin used      | 16     | 0     | plugin  |

## total

|            | estimation | other | _TOTAL_ |
| ---------- | ---------- | ----- | ------- |
| **points** | 00         | 00    | **00**  |

---

/label ~"devis en cours"
/assign @moventes
