Doctor module

The Doctor module provides the functionality related to performing CRUD operations on doctors' information, retrieving the list of doctors, searching for doctors, and so on. This is how the folder structure for this module would look:

Figure 5. Doctor Feature module

The following represents the modules and components of this module:

  • Root module/component
    • doc.module.ts: This represents the root module named DocModule. Note the import of the root component, routing module, services, and components:
        import { NgModule }       from '@angular/core';        import { CommonModule } from '@angular/common';        import { FormsModule }    from '@angular/forms' ...

Get Building Web Apps with Spring 5 and Angular now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.