The Policy Pal admin system is a robust, PHP-driven web application designed to manage and maintain the integrity of user interactions within the mobile platform. It features a secure login interface, powered by Firebase Authentication, allowing authorized personnel to access policy records, user profiles, and notification logs in real time.The system leverages a MySQL database to store structured data efficiently—ranging from policy uploads to automated scheduling rules—while ensuring consistency and scalability across all backend operations.
Admins can monitor document submissions, verify user accounts, and configure reminder workflows with precision, thanks to modular PHP APIs that maintain clean separation of logic. Firebase services handle real-time syncing with the mobile app, ensuring that all updates—such as expired policies, new uploads, or chat escalations—are reflected instantly across the ecosystem.
Designed with security and operational clarity in mind, the admin dashboard plays a critical role in maintaining user trust and delivering seamless insurance tracking experiences.
Ensuring accountability for admin actions and user interactions.
Developed a centralized logging system that records admin actions (e.g., user bans, document approvals) and user activity, stored securely in Firebase with timestamped entries.
Creating flexible, scalable workflows for policy renewal alerts.
Built a workflow editor using PHP and Firebase Functions, allowing admins to define custom triggers, frequencies, and delivery channels (email/push).
Preventing malformed or incomplete policy uploads from affecting system stability.
Added server-side validation and schema enforcement for uploaded documents and metadata, ensuring consistent structure and reducing error propagation.
Ensuring backend changes reflect instantly on user-facing mobile apps.
Leveraged Firebase’s real-time sync and WebSocket fallback to propagate admin-side updates (e.g., document status, reminders) across all connected devices without delay.
Admins needed instant visibility into newly uploaded policies and user actions.
Integrated Firebase Realtime Database with event listeners to provide live updates on uploads, edits, and deletions. Enabled quick review and approval workflows
Supporting multiple admin tiers (e.g., super admin, reviewer) with distinct privileges.
Designed a modular permission system using Firebase rules and PHP middleware, enabling granular control over dashboard features and data access.
Preventing unauthorized access to admin tools and sensitive user data.
Implemented JWT-based authentication with role-based access control, ensuring only verified admins can manage users and view policy data. Added session expiry and token revocation for enhanced security.
Set up and manage notification workflows for policy renewals, expirations, and updates.
Admins can access, preview, and verify uploaded insurance documents via Firebase Storage.
Changes made in the dashboard reflect instantly in the mobile app via Firebase Realtime Database.
Role-based login system with session management and Firebase Auth integration.
View, search, and manage user accounts with status toggles and profile access.
Want to learn more about the development process or discuss similar projects? I'm always happy to share insights and explore new opportunities.