This project is the official digital platform for Kelurahan Kampung Baru, Kecamatan Bacukiki Barat, Kota Parepare. It provides public information services and an online administrative document submission system for residents, replacing manual queue-based processes at the subdistrict office.
Developed as part of the KKN (Kuliah Kerja Nyata) Program, this application follows modern web development standards using the Laravel framework.
- 🏠 Public Information Portal — homepage, government structure (visi & misi), officials directory
- 📰 News/Berita Module — publish and browse subdistrict news with pagination
- 📝 Online Document Submission — residents can request official letters:
- Surat Keterangan Kematian
- Surat Keterangan Pengantar Nikah
- Surat Keterangan SKCK / Belum Menikah
- Surat Keterangan Penguburan
- 🔍 Submission Tracking — track application status in real-time using a unique tracking code
- 🛠️ Admin Dashboard (Filament v4) — manage submissions, news, and officials data
- 📁 File Upload Handling — multi-document upload with validation
- 📱 Responsive UI — optimized for both mobile and desktop
- 🔐 Secure Authentication — Filament-based admin authentication
- 🐳 Dockerized Setup — containerized environment for consistent development
- ☁️ Production-Ready Deployment — currently live and deployed
- PHP 8.1 or higher
- Composer
- Node.js & NPM (required — used to compile Tailwind CSS & Alpine.js assets via Vite)
- MySQL / MariaDB
- Web Server (Nginx / Apache)
- Docker & Docker Compose (optional, for containerized setup)
git clone https://github.com/RedSky09/kampungbaru-website.git
cd kampungbaru-websitecomposer install
npm install
npm run buildCopy environment file:
cp .env.example .envGenerate application key:
php artisan key:generateConfigure database and third-party service credentials inside .env (see Environment Variables below).
php artisan migrateSeed initial data (if seeder exists):
php artisan db:seedNeeded for uploaded files (news thumbnails, official photos, submission documents) to be publicly accessible:
php artisan storage:linkphp artisan make:filament-userFollow the interactive prompt to set the admin name, email, and password.
php artisan serveApplication will be available at:
http://127.0.0.1:8000
Admin panel will be available at:
http://127.0.0.1:8000/admin
Build and start containers:
docker-compose up -d --buildRun migration inside container:
docker exec -it <container_name> php artisan migrateCreate admin account inside container:
docker exec -it <container_name> php artisan make:filament-userMake sure to configure the following in your .env file:
| Variable | Description |
|---|---|
APP_NAME |
Application name |
APP_ENV |
local for development, production for live server |
APP_KEY |
Auto-generated via php artisan key:generate |
APP_URL |
Base URL of the application |
DB_HOST |
Database host |
DB_DATABASE |
Database name |
DB_USERNAME |
Database username |
DB_PASSWORD |
Database password |
MAIL_* |
Mail configuration (optional, only if email notifications are enabled) |
.env file to version control. Use .env.example as a reference template only.
app/
├── Models/ → Berita, Submission, Official
├── Http/Controllers/ → Public-facing page logic
├── Filament/ → Admin panel resources (CRUD)
└── Observers/ → Auto notification triggers
resources/
├── views/ → Blade templates (pages, components, layouts)
├── js/ → JavaScript modules (form-handler, tracking, smooth-scroll, etc.)
└── css/ → Tailwind CSS entry point
database/
└── migrations/ → Database schema definitions
routes/
└── web.php → Application routes
docker/
└── nginx/ → Nginx configuration for containerized deployment
This application is currently deployed at: 👉 https://kampungbarukel.pareparekota.go.id
Server environment:
- Linux Server (CWP-managed)
- PHP 8+
- MySQL
- Cloudflare (DNS & security layer)
This project was initially developed by AML as part of the KKN (Kuliah Kerja Nyata) community service program, in collaboration with the Kelurahan Kampung Baru office.
If you are a new contributor continuing this project:
- Review the
Known Issues/Roadmapsection (if provided separately in handover documentation) - Reach out to the previous maintainer for context on architectural decisions
- Please keep this README updated as new features are added
This project is intended for internal government/institutional use by Kelurahan Kampung Baru. Please contact the maintainer before redistributing or reusing this codebase for other purposes.
