Nexus Alumini Extreme: A hardened PHP + MySQL command center featuring atomic moderation, real-time audit logging, and glassmorphism UI.
- Features
- Tech Stack
- Live Demo
- Getting Started
- Project Structure
- Core Flows
- Changelog
- Contributing
- License
- Extreme Moderation Suite: Full control over alumni, posts, and comments with Atomic Transactions and row-level locking to prevent data loss.
- Nexus Social Hub: Centralized command center for hosting community events and dispatching global broadcasts.
- Glassmorphism Global Search: A non-disruptive, real-time search engine for instant data retrieval across the entire portal.
- Audit Logging & Accountability: Every administrative action is logged with IP addresses and metadata for high-level security tracking.
- Hardened Security: Centralized CSRF Protection via
security_helper.phpand SQL injection prevention using prepared statements. - Live Notifications: Real-time feedback loop for post approvals and event updates.
- Backend: PHP 8.2+ with strictly typed declarations and MySQLi.
- Database: Optimized Relational Schema with Foreign Key Constraints and Atomic Integrity.
- Frontend: Glassmorphism UI powered by Bootstrap 5, Lucide Icons, and Vanilla JS.
- Security Guard: Cross-Site Request Forgery (CSRF) protection and session-based authentication guards on all entry points.
The project is deployed at:
Use this URL to quickly verify UI behaviour in different browsers and devices. [web:587]
git clone https://github.com/0902cs231028-sys/Alumini.git cd your-repo
- Create Database: Open your MySQL manager (phpMyAdmin/Terminal) and create a new database named
alumni_portal. - Import Schema: Import the database.sql file located in the root directory. This will automatically build all 7 core tables, including the Audit Logs and Social Hub schema.
- Configure Connection: Navigate to
includes/connection.phpand update the following variables to match your environment:$host = 'localhost'; $user = 'your_username'; $pass = 'your_password'; $db = 'alumni_portal';
Using PHPβs builtβin server:php -S localhost:8000
Then open http://localhost:8000 in a browser. [web:490]
Create an initial admin/alumni account directly in the DB or via a seed script, then log in via:
/login.phpβ alumni login/register.phpβ alumni registration/admin/admin_login.phpβ admin dashboard login
βββ admin/
β βββ admin_login.php # Admin authentication portal
β βββ dashboard.php # Extreme metrics & operational overview
β βββ social_hub.php # Social command center (Events/Broadcasts)
β βββ global_search.php # AJAX backend for glassmorphism search
β βββ manage_posts.php # Supreme moderation terminal
β βββ approve_post.php # Atomic post moderation & notifications
β βββ delete_comment.php # Hardened comment purge logic
β βββ logs.php # Live system audit trail terminal
βββ assets/
β βββ banner.png # Project branding
βββ includes/
β βββ connection.php # Database link (Configuration required)
β βββ security_helper.php # CSRF & Security token engine
β βββ functions.php # Core utility logic
βββ css/
β βββ style.css # Glassmorphism & Extreme UI variables
βββ js/
β βββ app.js # Theme engine & UI effects
β βββ comment.js # AJAX comment threading logic
βββ uploads/
β βββ profile_pics/ # Admin/Alumni avatar storage
βββ database.sql # Full v1.0.0-SUPREME database schema
βββ CHANGELOG.md # Project evolution & version history
βββ LICENSE # MIT Legal documentation
βββ README.md # Supreme system documentation
fetch_comments.phpβ JSON API for comments attached to posts. [web:546][web:550]
register.php- Validates required fields and email format.
- Hashes password before inserting into the
alumnitable. [web:468][web:540] - New accounts are pending until an admin marks them approved. [web:501]
login.php- Looks up an approved alumni by email using prepared statements. [web:534][web:299]
- Verifies the password with
password_verifyand sets$_SESSION['alumni_id']. [web:533]
profile.php- Requires an authenticated alumni session. [web:319]
- Lets users edit name, batch, branch, phone, city, and LinkedIn URL via a prepared
UPDATE. [web:374][web:549]
admin/dashboard.phpβ High-performance overview with dynamic fail-safe metrics.admin/social_hub.phpβ The pulse of the community: manage events and broadcasts.admin/approve_post.phpβ Supreme moderator with author notification triggers.admin/global_search.phpβ Backend engine for the AJAX-powered search overlay.admin/logs.phpβ Live terminal for system audit trails.
fetch_comments.php- Accepts
GET post_id. - Returns an ordered JSON array of comments (id, content, created_at, alumni_id, name). [web:546][web:560]
- Accepts
Contributions and suggestions are welcome to the Nexus Alumini project. To maintain the Extreme standard of this repository, please follow these steps:
- Fork the Repo: Create your own copy of the project.
- Branching: Create a feature branch:
git checkout -b feature/awesome-idea. - Commit Standards: Use clear, descriptive commit messages.
- Documentation: If you add or change functionality, you must update the following:
- README.md: Update technical specifications or setup instructions.
- CHANGELOG.md: Document your changes under the
[Unreleased]section following the "Keep a Changelog" format.
- Pull Request: Open a PR to the
mainbranch for review.
This project is released under the MIT License. See the LICENSE file for the full legal text.