{"id":19603241,"url":"https://github.com/brownboycodes/fruitcastle","last_synced_at":"2026-01-18T22:33:00.769Z","repository":{"id":39604512,"uuid":"419198340","full_name":"brownboycodes/FruitCastle","owner":"brownboycodes","description":"Fruit Castle is a web application intended to serve as common centralized backend service provider for a wide range of apps requiring different types of data","archived":false,"fork":false,"pushed_at":"2022-05-31T07:31:13.000Z","size":49277,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-27T17:39:58.628Z","etag":null,"topics":["api","backend-server","common-api-server","flask","flask-application","fruit-castle","fruitcastle","python","python3"],"latest_commit_sha":null,"homepage":"https://fruitcastle.onrender.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brownboycodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-20T05:35:53.000Z","updated_at":"2023-03-10T18:39:30.000Z","dependencies_parsed_at":"2022-09-20T06:00:47.472Z","dependency_job_id":null,"html_url":"https://github.com/brownboycodes/FruitCastle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brownboycodes/FruitCastle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownboycodes%2FFruitCastle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownboycodes%2FFruitCastle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownboycodes%2FFruitCastle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownboycodes%2FFruitCastle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brownboycodes","download_url":"https://codeload.github.com/brownboycodes/FruitCastle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brownboycodes%2FFruitCastle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28552785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T20:59:07.572Z","status":"ssl_error","status_checked_at":"2026-01-18T20:59:02.799Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api","backend-server","common-api-server","flask","flask-application","fruit-castle","fruitcastle","python","python3"],"created_at":"2024-11-11T09:28:47.426Z","updated_at":"2026-01-18T22:33:00.753Z","avatar_url":"https://github.com/brownboycodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FruitCastle 🍎🏰\n\n**FruitCastle** is a web application built with Flask and Python intended to act as a common backend service for hosting data that is will be used by various cross-platform and web applications.\n\n![FruitCastle banner](./src/fruit_castle/client/dist/images/fruitcastle_logo_banner/fruitcastle-logo-banner-ae2012-212529-ffffff.png)\n## View deployed app  🚀🎉🎊\n\n[https://fruitcastle.herokuapp.com/](https://fruitcastle.herokuapp.com/ \"Common Backend Service for hosting API and data\")\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg title=\"\" src=\"https://cdn.dribbble.com/users/92156/screenshots/14530642/media/4c0507f23b1514818736f436a872857e.png\" alt=\"\" style=\"width:75%\"\u003e\n\u003c/p\u003e\n\n## Installation Guidelines\n\nClone the repo to your computer, execute to the following commands in CMD or Bash:\n\n```bash\ngit clone https://github.com/brownboycodes/FruitCastle.git\n```\n\naccess the downloaded directory 📁:\n\n```bash\ncd FruitCastle\n```\n\nsetup virtual environment for Python 🐍:\n\n```bash\npy -3 -m venv venv\n```\n\nactivate virtual environment:\n\n```bash\nvenv\\Scripts\\activate \n```\n\ninstall packages 📦 required by the flask app 🐍:\n\n```bash\npip install -r requirements.txt \n```\n\nTo test the server in `dev mode` 👨‍💻, create a file, for example- `run_dev_mode.py` and paste the following code 🐍:\n\n```python\nfrom src.fruit_castle.main import app, socketio\nfrom src.fruit_castle.hadwin.v3.v3_socket_events import *\n\n\nif __name__ == \"__main__\":\n    app.config.update(\n        TESTING=True,\n        ENV='development',\n    )\n    if app.config['ENV'] == 'development':\n        from dotenv import load_dotenv\n        load_dotenv()\n    app.config['SECRET_KEY'] = os.environ['SECRET_KEY']\n\n    socketio.run(app, host=\"0.0.0.0\", port=5000, debug=True)\n```\n\n🎉 Now, start the server in `development mode` 🚀:\n\n```bash\npy run_dev_mode.py\n```\n\n\u003cbr\u003e\n\n---\n\n\u003e [FruitCastle](https://fruitcastle.herokuapp.com/) © 2022 was developed by Nabhodipta Garai and is owned by him.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrownboycodes%2Ffruitcastle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrownboycodes%2Ffruitcastle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrownboycodes%2Ffruitcastle/lists"}