A lightweight, dynamic University Club Management System (UCMS) built with PHP, MySQL, and vanilla JS — complete with authentication, dashboards, and real-time modals.
UCMS (University Club Management System) is a web-based platform for managing university clubs, events, and memberships. It enables students to discover clubs, join events, and manage memberships, while providing admins with an efficient way to oversee all operations.
- User Authentication: Secure login for admin users.
- Club Directory: View and manage all university clubs, their details, and advisor contacts.
- Event Management: Browse upcoming events organized by clubs.
- Members Area: View club members, their positions, and contact details.
- Admin Dashboard: Admin panel for CRUD operations on clubs, events, and members.
- Responsive Design: Built with modern HTML5, CSS3, and JavaScript for a seamless multi-device experience.
- Frontend: HTML5, CSS3, JavaScript (
/assets/js/app.js) - Backend: PHP (see
/backend/php/for endpoints) - Database: MySQL/MariaDB (schema in
/sql/schema.sqland/ucms.sql) - Authentication: Session-based login for admins
Install PHP, MySQL/MariaDB, and required PHP extensions:
sudo apt install php php-mysql mariadb-serverCheck if the MariaDB service is active and running:
sudo systemctl status mariadbYou should see something like this:
● mariadb.service - MariaDB 11.8.3 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-11-06 13:33:34 +06; 1h 2min ago
If it says inactive, start it:
sudo systemctl start mariadbgit clone https://github.com/yourusername/UCMS.git
cd UCMSsudo mariadbInside the MariaDB shell:
ALTER USER 'root'@'localhost' IDENTIFIED VIA mysql_native_password USING PASSWORD('');
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;sudo mariadbInside MariaDB shell:
CREATE DATABASE ucms;
USE ucms;
SOURCE FULL_FILE_PATH/ucms.sql;
EXIT;mysql -h 127.0.0.1 -u root -p ucmsPress Enter when prompted for a password. If you see
MariaDB [ucms]>— means the database setup and connection is successfull! Exit the shell with:
EXIT;- Default admin credentials are in the seed section of
schema.sqlorucms.sql. Update them before first login.
Start a PHP development server inside the project/repository root folder (eg. /home/user/Downloads/UCMS/):
php -S 127.0.0.1:8000Open your browser and visit: http://127.0.0.1:8000
To stop the server:
Ctrl+Shift+CUCMS/
├── assets/
│ ├── css/style.css
│ ├── images/
│ ├── bg.jpg
│ └── bg_crop.jpg
│ └── js/app.js
├── backend/
│ └── php/
│ ├── auth.php
│ ├── clubs.php
│ ├── events.php
│ └── members.php
├── sql/
│ └── schema.sql
├── ucms.sql
├── *.html (index, login, clubs, events, members, dashboard)
└── credits.md
- Main background photo by Colin Lloyd on Unsplash.
MIT License







