Requirements

  • XAMPP (Apache + MySQL + PHP 8)
  • Git
  • A modern browser with developer tools
  • Kali Linux, as a VM or a lab machine, on the same network as your XAMPP machine
  • The project files IT413_Barangay_Portal_STUDENT.zip from your instructor

Setup

  1. Extract the zip and copy the barangay-portal folder into C:\xampp\htdocs\.
  2. Open the XAMPP Control Panel and start Apache and MySQL.
  3. Open http://localhost/barangay-portal/setup.php in your browser. You should see "Setup complete".
  4. Log in at http://localhost/barangay-portal/.
  5. Set up Git before changing anything (see How to Work).

Test accounts

UsernamePasswordRole
adminadmin123Admin
juanjuan123Resident
mariamaria123Resident

warning: Do not change these accounts, their passwords, the login field names (username, password), or any database, table or column names. The automated check depends on them.

tip: Running setup.php again resets the database to its original state. Use it if you break the data while testing.

Diagram: Lab setup and scope

Interactive diagram
Loading diagram…

Reaching the portal from Kali

Find the XAMPP machine's IP address with ipconfig. From Kali, open http://<that-ip>/barangay-portal/. If it doesn't load, allow Apache through the Windows Firewall.

Plain text
ipconfig
Next pageProject Rules
Batangas State University ARASOF-Nasugbu · College of Informatics and Computing Sciences · AY 2026–2027
Instructors: Engr. Engelbert P. Marcos, Mr. Oliver M. Hernandez