Frontend Overview (portals)
Repo: git@gitlab.com:nova-hc/mwe/v2/portals.git
React SPA serving multi-role dashboards for Nova Home Care. Each role (Admin, Employee, Client, Marketer) gets a tailored UI — different navigation, pages, and data visibility.
Stack
| Layer | Technology |
|---|---|
| Language | JavaScript (JSX) |
| Build | Vite 5.2 |
| UI Framework | React 18.2 |
| Component Library | Chakra UI 2.8 + Emotion |
| Routing | React Router 6.22 |
| Forms | Formik 2.4 + Yup / React Hook Form |
| Tables | TanStack Table 8.15 |
| Dates | Luxon |
| Animation | Framer Motion |
| Package manager | pnpm |
Key Sections
| Section | Path | Roles |
|---|---|---|
| Account (login/register) | /account/ | Public |
| Dashboard / Home | / | All |
| Employees | /employees/ | Admin, Master |
| Clients | /clients/ | Admin, Master |
| Referrals | /referrals/ | Admin, Marketer |
| Applications | /applications/ | Admin, Master |
| Onboarding | /onboarding/ | Employee |
| My Schedule | /schedule/ | Employee |
| Messages | /messages/ | All |
| Notifications | /notifications/ | All |
| Grievances | /grievances/ | Employee, Admin |
| Audit Log | /audit-log/ | Admin, Master |
| Profile | /profile/ | All |
| Users (admin) | /users/ | Master |