{"id":30248214,"url":"https://github.com/ayaarbi/javacup","last_synced_at":"2026-04-10T22:43:34.861Z","repository":{"id":309382395,"uuid":"1036078065","full_name":"ayaarbi/JavaCup","owner":"ayaarbi","description":"Coffee shop Website with a Bot assistant","archived":false,"fork":false,"pushed_at":"2025-08-11T14:44:24.000Z","size":7831,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-10T22:43:33.155Z","etag":null,"topics":["chatbot","flask","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ayaarbi.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}},"created_at":"2025-08-11T14:22:34.000Z","updated_at":"2025-08-11T14:44:28.000Z","dependencies_parsed_at":"2025-08-11T16:28:59.907Z","dependency_job_id":null,"html_url":"https://github.com/ayaarbi/JavaCup","commit_stats":null,"previous_names":["ayaarbi/javacup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ayaarbi/JavaCup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaarbi%2FJavaCup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaarbi%2FJavaCup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaarbi%2FJavaCup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaarbi%2FJavaCup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayaarbi","download_url":"https://codeload.github.com/ayaarbi/JavaCup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaarbi%2FJavaCup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31662169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"ssl_error","status_checked_at":"2026-04-10T17:19:13.364Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chatbot","flask","reactjs"],"created_at":"2025-08-15T07:09:42.044Z","updated_at":"2026-04-10T22:43:34.844Z","avatar_url":"https://github.com/ayaarbi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Cup – Coffee Shop Website \u0026 Chatbot\n\nJava Cup is an interactive coffee shop website featuring a warm and friendly **CoffeeBot** assistant.  \nIt helps customers explore the menu, find coffee prices, and learn fun coffee facts.  \nBuilt with **React** for the front-end and **Flask** for the back-end.\n\n---\n\n## Features\n\n- Modern and responsive coffee shop website UI.\n- **CoffeeBot** – a chatbot assistant that:\n  - Answers menu \u0026 pricing questions.\n  - Shares coffee trivia.\n  - Greets customers warmly.\n- Fast \u0026 lightweight front-end in **React**.\n- Back-end in **Flask** with REST API for chat.\n\n---\n\n## Tech Stack\n\n**Frontend**\n- React JS\n- Cascading Style Sheets (CSS)\n\n**Backend**\n- Python 3\n- Flask\n- Flask-CORS\n- The chatbot is rule-based, it was impossible to implement advanced AI features using large language models due to resource constraints.\n\n---\n\n## 📂 Project Structure\n```\n\nJavaCup/\n│\n├── website/ # React app\n│ ├── public/\n│ ├── src/\n│ │ ├── components/ \n│ │ ├── styles/\n│ │ ├── App.js\n│ │ └── index.js\n│ └── package.json\n│\n├── Bot.py / # Flask API\n│\n└── README.md\n```\n---\n\n## Installation\n\n### 1️⃣ Clone the Repository\n```bash\ngit clone https://github.com/ayaarbi/JavaCup.git\n```\n\n### 2️⃣ Backend Setup (Flask)\n```bash\n    pip install Flask Flask-CORS\n```\n\nRun the backend server:\n```bash\ncd JavaCup\npython Bot.py\n```\nThis starts Flask on http://localhost:5000\n\n### 3️⃣ Frontend Setup (React)\nYou should have nodeJs installed on your PC.\n\n```bash\ncd JavaCup/website/src\nnpm start\n```\nThis starts React on http://localhost:3000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayaarbi%2Fjavacup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayaarbi%2Fjavacup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayaarbi%2Fjavacup/lists"}