The project currently meets the minimal functional threshold to display the data. It currently feature:
- WebSocket: via RxStomp with SockJS supplying the factory with the connection
- Basic Routing; and
- display of Websocket topic data
- Responsive layout
- Aria Support where possible via Ng Materials
There's lots of improvements that should be made:
-
The services could be a lot nicer and only return ready object data to be displayed
-
Better use of RxJS would allow this and maybe eliminate some of the length of the code whilst coercing the data
-
The data in the market view isn't updating dynamically as the data comes in:
- The new data can be seen in the console.logs
-
Content projection or auxiliary routes would allow me to present everything and remove need to navigate to a separate page for detail
- This would allow the details to be drilled into as seen on sports sites like: https://sports.br.betboo.com/pt-br/sports/futebol-4
Beyond this lazy-loading, and animations would take it to a nice releasable level
This project was generated with Angular CLI version 13.2.5.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.