A lightweight full-stack web app for clubs, college groups, and hobby communities to organize events, engage members, and streamline interactions β all under one dashboard.
π Live Demo: π Visit Hobby Hub Live
π Authentication
- Secure signup & login (session-based)
- Password hashing
- CSRF-protected forms
π₯ Group Management
- Create or join hobby groups
- Admin roles for group control
- View members and group info
π¬ Discussion Board
- Create & comment on threads
- Group-specific and public forums
π Event Scheduler
- Create and manage events
- RSVP options: Going, Maybe, Not Going
- Date, time, and venue fields
π Member Directory
- Search members
- Filter by groups
- Profile with activity info
π‘ Security
- PDO with prepared statements
- XSS input sanitization
- Strong password policy
- Role-based access controls
| Layer | Technology |
|---|---|
| π¨ Frontend | HTML, Tailwind CSS, JavaScript |
| π§ Backend | PHP (vanilla) |
| π Database | MySQL |
| π UI Icons | Font Awesome |
| π Fonts | Google Fonts (Inter) |
hobby_platform/
βββ includes/
β βββ config.php # Database and application configuration
β βββ functions.php # Helper functions
β βββ header.php # Common header template
β βββ footer.php # Common footer template
βββ public/
β βββ index.php # Landing page
β βββ register.php # User registration
β βββ login.php # User login
β βββ logout.php # User logout
β βββ dashboard.php # User dashboard
β βββ groups.php # Group listing and creation
β βββ group_detail.php # Individual group view
β βββ discussion.php # Discussion board
β βββ events.php # Event listing and creation
β βββ event_detail.php # Individual event view
β βββ members.php # Member directory
βββ schema.sql # Database schema
git clone https://github.com/abhishak1305/Hobby-Hub-community-platform.git
cd Hobby-Hub-community-platform
π Import MySQL Schema
mysql -u root -p < schema.sql
π§© Edit Database Config
In includes/config.php:
php
define('DB_HOST', 'localhost');
define('DB_NAME', 'hobby_platform');
define('DB_USER', 'your_username');
define('DB_PASS', 'your_password');
π Run on Localhost
Use XAMPP/WAMP β Place files inside /htdocs β Start Apache/MySQL
Visit: http://localhost/Hobby-Hub-community-platform/public/
π§ Coming Soon
β
Email OTP login π
β
AI-powered group recommendations π€
β
Admin dashboard with insights π
π’ Usage Tips
Register with a strong password (min. 8 chars)
Join or create a group β Post discussions β Manage events
Use search bar to find members or events
Only group admins can create/edit events in that group
π€ Contributing
# Fork this repo
# Create a new branch: git checkout -b feature/feature-name
# Make your changes and commit: git commit -m "Add feature"
# Push: git push origin feature/feature-name
# Submit a Pull Request βοΈ
π§Ύ License
This project is licensed under the MIT License.
π Author
Made with β€οΈ by Abhishak Chaturvedi
π§ abhishak1305@gmail.com
π Give it a β if you like it! Let's build amazing communities together.