A comprehensive village/madrasah management system with a powerful admin panel
A CodeIgniter-based web application for village/madrasah information management. Developed for the KIM Hackathon East Java 2023 competition. This system provides a complete solution for managing village website content, population data, news, galleries, and various public services.
| Feature | Description |
|---|---|
| Homepage | Landing page with latest news, gallery, and village information |
| News | News portal with categories and pagination |
| Services | Information on available public services |
| Programs | Showcase of village programs and activities |
| Profile | Village profile and organizational structure |
| Contact | Contact form and address information |
| Module | Function |
|---|---|
| Dashboard | Statistics and data overview |
| News | CRUD articles with rich text editor |
| Gallery | Photo and album management |
| Staff | Village officials/employee data |
| Population | Population statistics data |
| Services | Service information management |
| Programs | Work program management |
| SMEs | Local business directory |
| Videos | Activity video library |
| Ads/Banners | Promotional banner management |
| Configuration | Website settings (logo, contact, social media) |
| User Management | Account and access rights management |
hackathon/
├── application/
│ ├── config/ # Application configuration
│ ├── controllers/ # Controllers (32 files)
│ │ ├── admin/ # Admin panel controllers
│ │ └── *.php # Public controllers
│ ├── models/ # Database models (19 files)
│ ├── views/ # View templates (125+ files)
│ │ ├── admin/ # Admin panel views
│ │ └── layout/ # Frontend layouts
│ └── libraries/ # Custom libraries
├── assets/ # Admin assets
│ ├── css/ # Stylesheets
│ ├── js/ # JavaScript
│ ├── ckeditor/ # Rich text editor
│ ├── leaflet/ # Map library
│ └── upload/ # User uploads
├── assets_client/ # Frontend assets
│ ├── css/ # Public stylesheets
│ ├── js/ # Public scripts
│ └── images/ # Public images
├── db/
│ └── db_testing.sql # Database dump
└── system/ # CodeIgniter core
- PHP 7.4 or higher
- MySQL 8.0 or higher
- Apache with mod_rewrite enabled
- Composer (optional)
1. Clone Repository
git clone https://github.com/zenbgs/hackathon.git
cd hackathon2. Setup Database
# Create a new database
mysql -u root -p -e "CREATE DATABASE db_hackathon"
# Import structure and data
mysql -u root -p db_hackathon < db/db_testing.sql3. Configure Database
Edit file application/config/database.php:
$db['default'] = array(
'hostname' => 'localhost',
'username' => 'root',
'password' => 'your_password',
'database' => 'db_hackathon',
...
);4. Configure Base URL
Edit file application/config/config.php:
$config['base_url'] = 'http://localhost/hackathon/';5. Run Application
http://localhost/hackathon
The application uses 24 database tables:
| Table | Description |
|---|---|
user |
User data and authentication |
berita |
News articles |
kategori |
News categories |
galeri |
Gallery photos |
pegawai |
Staff/official data |
penduduk |
Population data |
program |
Work programs |
layanan |
Public services |
umkm |
SME data |
konfigurasi |
Website settings |
identitas_desa |
Village identity |
single_page |
Dynamic pages |
| Metric | Count |
|---|---|
| Controllers | 32 files |
| Models | 19 files |
| Views | 125+ files |
| Database Tables | 24 tables |
| Admin Modules | 21 modules |
This project was developed for the KIM Hackathon East Java 2023 competition.