Display eBikes
In the previous post we implemented a user authentication via SingleKey ID. Now that the user can log in let’s load their eBikes via the eBike Profile API (Smart System) and display them. To do so we need to
- add a proxy configuration to avoid CORS issues when accessing the Bosch eBike API
- add an eBike profile service to fetch the eBike profiles of the logged-in user
- add an auth gard and an auth interceptor to protect routes and add the access token to API requests
- add a separate eBikes page to display the eBike profiles as a list
To help the user to distinguish between multiple eBikes we display the eBike ID on each card.

In the next post we will display the details of an eBike.