{"id":32657892,"url":"https://github.com/rafiesa/webdev-schema","last_synced_at":"2026-05-07T19:13:55.224Z","repository":{"id":321510406,"uuid":"1085821501","full_name":"RafieSA/webdev-schema","owner":"RafieSA","description":"Electronics Store Admin CRUD Panel (BNSP Web Developer Certification Task). Built with CodeIgniter 3 \u0026 MySQL.","archived":false,"fork":false,"pushed_at":"2025-10-30T01:27:52.000Z","size":505,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-30T03:38:12.885Z","etag":null,"topics":["admin-panel","bnsp","bnsp-certification","codeigniter","codeigniter3","crud","mysql","php","portfolio"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RafieSA.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-29T14:58:47.000Z","updated_at":"2025-10-30T01:27:55.000Z","dependencies_parsed_at":"2025-10-30T03:39:00.634Z","dependency_job_id":null,"html_url":"https://github.com/RafieSA/webdev-schema","commit_stats":null,"previous_names":["rafiesa/webdev-schema"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/RafieSA/webdev-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafieSA%2Fwebdev-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafieSA%2Fwebdev-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafieSA%2Fwebdev-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafieSA%2Fwebdev-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RafieSA","download_url":"https://codeload.github.com/RafieSA/webdev-schema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafieSA%2Fwebdev-schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281992164,"owners_count":26595645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-panel","bnsp","bnsp-certification","codeigniter","codeigniter3","crud","mysql","php","portfolio"],"created_at":"2025-10-31T13:00:50.229Z","updated_at":"2025-10-31T13:02:11.498Z","avatar_url":"https://github.com/RafieSA.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electronics Store Admin Panel (BNSP Certification)\n\nThis is a web application project created to fulfill the Competency Demonstration Task for the **BNSP Web Developer Certification (KKNI Level 6)**.\n\nThe task required building a simple admin panel to manage an electronics store's product data, featuring full CRUD (Create, Read, Update, Delete) functionality.\n\n**Local URL (via Laragon):** [http://bnsp-toko-elektronik.test](http://bnsp-toko-elektronik.test)\n\n---\n\n## 🛠️ Technology Stack\n\n* **Framework:** CodeIgniter 3.1.13 (chosen to match the BNSP multiple-choice questions)\n* **Language:** PHP 8.3\n* **Database:** MySQL 8.4 (via Laragon)\n* **Local Server:** Laragon (Apache)\n* **Frontend:** Bootstrap 4 (via CDN) for rapid styling.\n\n---\n\n## ✨ Task-Compliant Features\n\nAs required by the assignment, this application features two main menus:\n\n1.  **Dashboard:** A simple welcome/landing page.\n2.  **Products:** The main page containing the full CRUD functionality:\n    * **[Create]** \"Tambah Produk\" (Add Product) button opens a form for new data.\n    * **[Read]** Displays all product data from the MySQL database in a table.\n    * **[Update]** An \"Edit\" button for each row to modify product data.\n    * **[Delete]** A \"Delete\" button for each row with a JavaScript `confirm()` alert.\n\n---\n\n## 🚀 How to Run (Local Setup)\n\n1.  **Prerequisites:** **Laragon** (or XAMPP) must be installed and running.\n2.  **Clone Repo:**\n    ```bash\n    git clone [https://github.com/RafieSA/webdev-schema.git](https://github.com/RafieSA/webdev-schema.git)\n    ```\n3.  **Move Folder:** Move the cloned `webdev-schema` folder into `C:\\laragon\\www\\`.\n4.  **Create Database:** Open HeidiSQL/phpMyAdmin (via Laragon) and create a new database named `bnsp_toko_elektronik`.\n5.  **Import SQL:** Import the `data.sql` file (included in this repo) into the `bnsp_toko_elektronik` database.\n6.  **Configure CI3:**\n    * Rename the folder `C:\\laragon\\www\\webdev-schema` to `bnsp-toko-elektronik` (to match the URL).\n    * Open `application/config/database.php` and ensure settings match your Laragon setup (user `root`, password `''`).\n    * Open `application/config/config.php` and ensure the `base_url` is `http://bnsp-toko-elektronik.test`.\n7.  **Run:** Restart Laragon and open `http://bnsp-toko-elektronik.test` in your browser.\n\n---\n\n## 🗄️ Database Schema (`data.sql`)\n\nAs requested by the task, the database contains a single `produk` table:\n\n```sql\nCREATE TABLE `produk` (\n  `id` int(11) NOT NULL AUTO_INCREMENT,\n  `produk` varchar(255) NOT NULL,\n  `kategori` varchar(255) NOT NULL,\n  `harga` int(11) NOT NULL,\n  `thumbnail` varchar(255) DEFAULT NULL,\n  `link_gambar` varchar(255) DEFAULT NULL,\n  PRIMARY KEY (`id`)\n);","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafiesa%2Fwebdev-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafiesa%2Fwebdev-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafiesa%2Fwebdev-schema/lists"}