Our homepage will be the landing screen for our application. On this page, we will show all the boards that are available in our application. Along with the board name, we'll also show the number of tasks on that board.
We will also provide an option for the user to add new boards to the application using the Create a new board link. Once a user creates a new board, he/she will be able to go to the board and add tasks and subtasks there.
To create a new component, use the following command:
ng generate component homepage
This command will generate our Homepage component, its specific template file, and a style sheet file. The functionality on our homepage is limited to displaying the board data and the total number of tasks, so the first thing that we should do is define the data models to be used in our application.