Open web-app/src/app/app.module.ts. This file consists of the @NgModule declaration, which defines all the components and services that we are going to use.
We have created the following components:
- AppComponent: Application root component that holds the router outlet
- NavBarComponent: This is the navigation bar component that appears on the all the pages. This component automatically detects the authentication state and shows the menu bar accordingly
- LoginComponent: This deals with the login feature
- RegisterComponent: To work with registration with the API engine
- HomeComponent: This component displays all the devices attached to the current logged-in user
- DeviceComponent: This component displays information about one device