{"id":16222883,"url":"https://github.com/mathuraditya724/javafastfoodorder","last_synced_at":"2026-05-07T02:38:01.622Z","repository":{"id":168236482,"uuid":"239252383","full_name":"MathurAditya724/JavaFastFoodOrder","owner":"MathurAditya724","description":"A simple java fast food ordering system, which uses RestAPI's to communicate to a server created using python.","archived":false,"fork":false,"pushed_at":"2020-02-15T14:11:16.000Z","size":1526,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T06:51:27.816Z","etag":null,"topics":["django","django-rest-framework","java","jdk11","json","python"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/MathurAditya724.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-02-09T05:30:58.000Z","updated_at":"2025-03-01T04:55:03.000Z","dependencies_parsed_at":"2023-06-08T09:30:58.158Z","dependency_job_id":null,"html_url":"https://github.com/MathurAditya724/JavaFastFoodOrder","commit_stats":null,"previous_names":["mathuraditya724/javafastfoodorder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathurAditya724%2FJavaFastFoodOrder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathurAditya724%2FJavaFastFoodOrder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathurAditya724%2FJavaFastFoodOrder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathurAditya724%2FJavaFastFoodOrder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathurAditya724","download_url":"https://codeload.github.com/MathurAditya724/JavaFastFoodOrder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247761052,"owners_count":20991533,"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":["django","django-rest-framework","java","jdk11","json","python"],"created_at":"2024-10-10T12:15:41.702Z","updated_at":"2026-05-07T02:37:56.604Z","avatar_url":"https://github.com/MathurAditya724.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Fast Food Order\n\nIn this, I have used Java for creating the interface for the chef and client. And for fetching the data from a server, I created a server with **Python** and **Django**, and used the **DjangoRestFramework** for creating the APIs. For communicating with the server I have utilized the class of the **java.net** package.\n\n## Getting Started\n\nFor starting the project, First, create a virtual environment for the python Lib's in the *requirement.txt* file.\n\n``` cmd\npython -m venv ./venv\n```\n\n*Activate* the virtual environment and download the required Lib's.\n\n``` cmd\npip install -r requirement.txt\n```\n\nBefore going any further, just create an SQLite file in the *fastfood* folder and then *cd* into the folder and simply migrate and create the superuser in the database using Django.\nAnd after doing this setup, run the server.\n\n``` cmd\ncd ./fastfood\npython manage.py migrate\npython manage.py createsuperuser\npython manage.py runserver\n```\n\n## Basic Setup\n\nThe APIs work out of the box, What you need to do is upload images and data onto the server. I have included the *Images* folder which includes all the images I have used. Just go to \u003chttp://localhost:8000/admin\u003e and Log in with your username and password that you have created in the createsuperuser part. Under the *Items* heading you will find all the headers which will require the images (except the *Order* header).\n\nWhen uploaded all the images, compile and run the *client.java* file. And that's it, choose an item and a drink, and click on validate order for sending a POST request to the server and placing an order. Now if you compile and run the *chef.java* file, you will see all the orders placed.\n\n## Where are the APIs\n\nIf you want to see the APIs, go to \u003chttp://localhost:8000/api/item\u003e here you can see all the items. If you want to see all the routes of the API, just open the *urls.py* file, which is in *fastfood/item/urls.py*.\n\n## Build With\n\n- Java (JDK 11) - For the GUI Interface of the chef and the client\n- org.json Package - For handling the JSON data from the server\n- Python - For working with Django\n- Django - For creating the server\n- Django RestFramework - For the APIs\n\n## Authors\n\n**Aditya Mathur**, you can find me on [Twitter](https://twitter.com/mathuraditya7) or [LinkedIn](https://www.linkedin.com/in/aditya-mathur-7240/)\n\n## License\n\nThis project is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathuraditya724%2Fjavafastfoodorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathuraditya724%2Fjavafastfoodorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathuraditya724%2Fjavafastfoodorder/lists"}