Infinity Tax Solutions – Admin CRM Panel
Alongside the public website we built a full-featured admin CRM that connects to the same Laravel backend. Only authorised staff can log in; once inside they get a clean dashboard, complete user management, and visual reporting — everything needed to turn a website lead into an active client.
Authentication & Access Control
Login hits POST /api/login and stores the returned JWT in
localStorage. An AuthGuard protects every internal route and
redirects unauthenticated visitors straight to /login. A role-based system
gives superadmins full visibility across all records, while
company accounts only ever see their own users.
Dashboard & Reporting
The dashboard surfaces four headline KPIs — Total Users, Active Users, Total References, and This Month's signups — backed by three live Chart.js charts:
- Line chart — overall user activity over time
- Pie chart — active vs inactive user split
- Bar chart — users broken down by company / referral
A dedicated registration chart lets admins filter signups by last 7 days, 15 days, 3, 6, or 12 months, and up to 3 years. A live "Recent Activities" feed shows the two most recently registered users at a glance.
User & Reference Management
The /users module is a full CRUD interface: list, add, edit, and delete clients with filters by company and by status (new, active, inactive, pending, contacted, direct debit activated). The /references module manages the company and referral records that appear in the public site's registration form.
Key Features
- Angular 21 + Vite — fast builds, instant hot reload
- JWT auth with HTTP interceptor (auto Bearer header)
- Role-based access: superadmin vs company user
- Live KPI dashboard with Chart.js (ng2-charts)
- Registration trend chart with flexible date filters
- Full user CRUD with status workflow management
- Company / reference management
- Toast notifications, confirmation modals, custom dropdowns
- Auto force-logout on 401 Unauthorised response
