This is a simple project that allow us to make practice all knowledge we already get in Observer Design Pattern
Our use case here is an Account System.
The subject we have to observe (Caisse.ts
) is the set of balance and transactions.
The user can add a transaction using a form. Each time he clicks on add button, he will see synchronously informations in observers components.
For the observers, we've there three : ListTrans.ts
, NbTrans.ts
, Solde.ts
and Info.ts
To test this app you have to :
- clone it or download the zip file
- After that, go to
AcountSystemWithObserver
directory usingcd
command line - install all dependencies with
npm i
command - run the app with
npm start
Click to this link https://account-system.herokuapp.com/ to get overview