The front end Angular 9 application for the MEV web application.
Compodoc documentation: click here
Respository: https://github.com/web-mev/mev-frontend
Sentry error tracking and monitoring: http://35.199.2.238:9000/organizations/sentry/issues/
The application is based on a Angular Material Starter project: https://github.com/tomastrajan/angular-ngrx-material-starter
Install the dependencies:
npm install
ng serve
(you can access the app at http://localhost:4200)
or
ng serve --port 8080 --host mydomain.com
(for development purposes we need a proper host pointing to localhost, because Google’s OAuth requires redirect URLs that can’t be localhost. So you can add an entry in the hosts file of your machine to associate mydomain.com to 127.0.0.1. The app will be run at http://mydomain.com:8080)
npm run generate-docs
File app.component.ts Use the following properties to update the application settings: -- logo: to update the application logo image -- languages: to set the list of available languages -- sessionTimeout: to set user idle / session timeout -- navigation: to set top navigation bar
File themes/default-theme.scss Here you can change the color theme, specifying primary, accent and warning colors that will be used on components
File sentry-error-handler.ts Use this file to set a configuration to handle error tracking
File jwtConfig.ts
Use this file to update settings for JWT authentication: whiteListedDomains(domains that are allowed to receive the JWT) and blackListedRoutes(routes that are not allowed to receive the JWT token)
The structure of the application includes a few main modules:
https://docs.google.com/spreadsheets/d/1hyKzuzDYb5nYS1AKZByssyCLNSQS-FxEqEdQ82IakQ8/edit#gid=0