{"id":15068744,"url":"https://github.com/solahkay/binar-bej-challenge","last_synced_at":"2026-01-03T07:11:17.404Z","repository":{"id":189314082,"uuid":"680457297","full_name":"solahkay/binar-bej-challenge","owner":"solahkay","description":"Repository for challenge's submission MSIB Batch 5 Binar Academy - Back End Java.","archived":false,"fork":false,"pushed_at":"2023-12-03T02:41:55.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T21:17:15.878Z","etag":null,"topics":["backend","git","java","java8","java8-learning","java8-study","maven"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solahkay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-08-19T09:55:21.000Z","updated_at":"2023-09-21T08:44:42.000Z","dependencies_parsed_at":"2024-11-22T08:45:48.349Z","dependency_job_id":null,"html_url":"https://github.com/solahkay/binar-bej-challenge","commit_stats":null,"previous_names":["solahkay/binar-bej-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solahkay%2Fbinar-bej-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solahkay%2Fbinar-bej-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solahkay%2Fbinar-bej-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solahkay%2Fbinar-bej-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solahkay","download_url":"https://codeload.github.com/solahkay/binar-bej-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847061,"owners_count":20357317,"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","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":["backend","git","java","java8","java8-learning","java8-study","maven"],"created_at":"2024-09-25T01:39:03.084Z","updated_at":"2026-01-03T07:11:17.351Z","avatar_url":"https://github.com/solahkay.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Binar BEJ Challenge 3\n\n![Static Badge](https://img.shields.io/badge/status-uwu-brightgreen)\n\nIndependent Study batch 5 Binar Academy - Backend Java\nChallenge 3 assignment - BinarFud\n\n## Disclaimer\nThis is not a real-world project; this project is only for educational purposes.\n\n## 📌 Features\n\n- Shows menu with price\n- Order menu\n- Add quantity amount\n- Multiple order menu\n- Shows order detail\n- Make receipt\n\n## 📥 Getting Started\n\n### Prerequisites\n\n- Java (version 8 or higher)\n- Maven\n- Git\n\n### Installation\n\nClone this repository first:\n```git\ngit clone git@github.com:solahkay/binar-bej-challenge.git\n```\n\nchange the directory to the root of the project:\n```git\ncd binar-bej-challenge\n```\n\ncreate branch `challenge_3`:\n```git\ngit branch challenge_3\n```\n\nswitch to branch `challenge_3`:\n```git\ngit switch challenge_3\n```\n\ndon't forget to pull the code in remote repository:\n```git\ngit pull origin challenge_3\n```\n\nand then the project are ready to use!\n\n## 🎇 ERD\n\n```mermaid\n    erDiagram\n        MENU ||--|| HAVE : is\n        MENU {\n            Long id PK\n            String itemName\n            Integer price\n        }\n        ORDER ||--o{ HAVE : has\n        ORDER {\n            Integer total\n            Long totalAmount\n            Menu menu\n        }\n        HAVE {\n            Long id PK\n        }\n```\n\n## 🔧 Usage\n\n[![usage.gif](https://i.postimg.cc/CKbYFg25/usage.gif)](https://postimg.cc/v18Czpbw)\n\nFor running this project, use command:\n```maven\nmvn exec:java\n```\n\nOR\n\nyou can build this project with `maven`:\n```maven\nmvn clean package\n```\n\nand then run the `.jar` file in *target* folder:\n```\njava -jar target/binar-bej-challenge-3.0-SNAPSHOT.jar\n```\n\n## 🔗 Workflow\n\n```mermaid\ngraph RL\n    A[View] --\u003e B[Service]\n    B --\u003e C[Repository]\n    C --\u003e D[Entity]\n    G[Dataimport] --\u003e B\n    H[Generator] --\u003e B\n    I[App.java] --\u003e A\n```\n\n**CSV format**\n```\n[menuName];[price]\n\n// replace without bracket\n```\n\nExample:\n```\nNasi Goreng;15000\nMie Goreng;13000\nEs Teh Manis;3000\nNasi + Ayam;18000\nEs Campur;5000\n```\n\nThe dataimport class will import the menu from `menu.csv` and the service class will validate whether the menu already exists with the same name. If true, then skip adding.\n\nThe `receipt.txt` file is created in the root project or the folder where you run the Java `.jar` file after successfully placing the order.\n\n```\n==========================\nBinarFud\n==========================\n\nTerima kasih sudah memesan\ndi BinarFud\n\nDi bawah ini adalah pesanan anda\n\nNasi Goreng       21      315.000\nNasi + Ayam        2      36.000\nEs Teh Manis      51      153.000\nEs Campur          1      5.000\n------------------------------------+\nTotal             75      509.000\n\nPembayaran : BinarCash\n\n==========================\nSimpan struk ini sebagai\nbukti pembayaran\n==========================\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolahkay%2Fbinar-bej-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolahkay%2Fbinar-bej-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolahkay%2Fbinar-bej-challenge/lists"}