How sachink23/hics works
Project type and purpose
• This is a monolithic, PHP-based full-stack web application called “Hospital Information Collection System,” developed for NIC Parbhani.
• It provides two primary user-facing portals:
• An admin portal (under /admin) where higher-level users can manage hospitals, view/modify reports, handle user accounts, etc.
• A hospital portal (under /hospital) where individual hospitals submit their data and view reporting forms.
File structure
• Top-level directories:
• /admin – contains all admin-side pages, backend PHP scripts, and UI chunks (top.php, bottom.php).
• /hospital – contains the hospital-side analogue.
• /assets – static assets (CSS/JS/images), including Materialize framework and custom theme.
• /classes – likely houses PHP classes used across both portals.
• Key files:
• .php – central bootstrap script (DB connection, constants, session init).
• template.php – shared layout logic.
• index.php, register.php, saveRegisterData.php, logout.php – entry points for authentication and registration.
• MVC hints:
• “chunks” directories hold view fragments.
• “backend” directories house controller-style scripts.
• Data access is probably in include.php or classes.
README for additional insights
• README is minimal but confirms the intended audience (NIC Parbhani) and the core use case: collecting and reporting hospital information.