{"id":31363849,"url":"https://github.com/erushasandushan/cafeteria-system","last_synced_at":"2025-09-27T05:26:23.857Z","repository":{"id":315634927,"uuid":"1058915570","full_name":"ErushaSandushan/Cafeteria-System","owner":"ErushaSandushan","description":"A C++ and SQL-based cafeteria management system built as a learning project to strengthen my C++ skills and practice database integration. ( Started Learning C++ in September 2025 )","archived":false,"fork":false,"pushed_at":"2025-09-19T17:49:12.000Z","size":80,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-19T19:59:21.163Z","etag":null,"topics":["api","backend","cpp","management"],"latest_commit_sha":null,"homepage":"","language":"C++","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/ErushaSandushan.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-17T18:12:26.000Z","updated_at":"2025-09-19T18:19:04.000Z","dependencies_parsed_at":"2025-09-19T19:59:22.791Z","dependency_job_id":"da63ee3b-1f30-43da-b2e6-e3e7b4f21f5a","html_url":"https://github.com/ErushaSandushan/Cafeteria-System","commit_stats":null,"previous_names":["erushasandushan/cafeteria-system"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ErushaSandushan/Cafeteria-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErushaSandushan%2FCafeteria-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErushaSandushan%2FCafeteria-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErushaSandushan%2FCafeteria-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErushaSandushan%2FCafeteria-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErushaSandushan","download_url":"https://codeload.github.com/ErushaSandushan/Cafeteria-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErushaSandushan%2FCafeteria-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277184148,"owners_count":25775286,"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-09-27T02:00:08.978Z","response_time":73,"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":["api","backend","cpp","management"],"created_at":"2025-09-27T05:26:20.695Z","updated_at":"2025-09-27T05:26:23.849Z","avatar_url":"https://github.com/ErushaSandushan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cafeteria-System\n\nA C++ and SQL-based cafeteria management system built as a learning project to strengthen my C++ skills and practice database integration.\nStarted Learning C++ in September 2025.\n\nUsername : `admin` / `manager`\nPassword : `password`\n\n![](./Imgs/Initial_stage.png)\n\n### TO DO\n- Menu System \n   - View available food items. [ DONE ]\n   - Add new items (admin mode) [ PENDING ].\n\n- Order System\n\n  - Place order (choose item, qty). [ DONE ]\n  - Store in DB (ORDERS table). [ DONE ]\n  - Calculate total bill. [ DONE ]\n\n- Reports (Admin Panel)\n\n  - Show all orders of the day. [ MAYBE :) ]\n  - Find most popular item. [ DONE ]\n  - Show total sales. [ DONE ]\n- Login (Admins only) [ DONE ]\n  - More secure password encryption [ PENDING ] \n  - User Management [ PENDING ]\n  \n- Web UI\n  - Design REST API backend in C++ (Crow) [ DONE ]\n  - Connect SQLite database to backend for live data retrieval and updates [ DONE ]\n  - Develop Web UI (frontend) [ DONE ]\n  - Admin Dashboard [ PENDING ]\n\nHow to Complie : `g++ .\\main.cpp -lsqlite3 -lssl -lcrypto -o .\\Cafeteria.exe`\n\n# Web API (Not Smooth)\n\nPlease clone below repos\n    - `https://github.com/chriskohlhoff/asio.git`\n    - `https://github.com/CrowCpp/Crow.git`\n\nHow to complie : `g++ -std=c++17 main.cpp -o API -I Crow/include -lsqlite3 -I asio/include -lws2_32 -lmswsock`\n\nPlease note that your folder path needs to arranged as below\n```bash\n/WEBAPI/   \n    -- Crow/\n    -- asio/\n    -- templates/\n    -- main.cpp\n```\n\n![](./Imgs/API.png)\n\n\u003c!--\n  \n  DB Structure \n    - Menu items\n    - Users\n    - Orders\n  \n  \u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferushasandushan%2Fcafeteria-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferushasandushan%2Fcafeteria-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferushasandushan%2Fcafeteria-system/lists"}