This project is client of the fab wallet system. It is recommeded to run the backend first.
Backend for this project is:
https://github.com/javatechy/fab-backend
For User:
- Recharge
- Bill Payment
- Check Balance
For Admin:
- Check balance of any user
- Cannot check other admin
- Datails of all users
- Transactions by a user
- Only mandatory field validations are add for all input fields.
Follow these steps to run this project:
- Clone the project
git clone https://github.com/javatechy/fab-ui.git - Install angular-cli using
npm install -g @angular/cli cd fab-ui && npm install- Run
ng servefor a dev server. Navigate tohttp://localhost:4200/. The app will automatically reload if you change any of the source files. - for Production Build :
ng build --prod. Build is created indist/folder.
There are 3 components:
LoginComponent- for user/admin LoginAdminComponent- for admin PageUserComponent- for User Page
Session variables are managed in localstorage.
- All Constants are defined in
src/app/utils/app.utils.ts - Backend URL is mentioned in
environment.tsinsrc/environmentsfolder