{"id":19476326,"url":"https://github.com/esimorre/django-flette","last_synced_at":"2026-06-15T19:31:50.439Z","repository":{"id":258180792,"uuid":"873464028","full_name":"esimorre/django-flette","owner":"esimorre","description":"Minimalist wedding between django and flet","archived":false,"fork":false,"pushed_at":"2024-10-20T09:34:08.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T16:24:11.326Z","etag":null,"topics":["django","flet","fullstack-development","purepython","python","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/esimorre.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":"2024-10-16T08:04:32.000Z","updated_at":"2024-10-20T09:34:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"8457e7a5-72bd-479c-9038-5252991dfaeb","html_url":"https://github.com/esimorre/django-flette","commit_stats":null,"previous_names":["esimorre/django-flette"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/esimorre/django-flette","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimorre%2Fdjango-flette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimorre%2Fdjango-flette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimorre%2Fdjango-flette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimorre%2Fdjango-flette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esimorre","download_url":"https://codeload.github.com/esimorre/django-flette/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimorre%2Fdjango-flette/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34377872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":["django","flet","fullstack-development","purepython","python","rest-api"],"created_at":"2024-11-10T19:38:37.043Z","updated_at":"2026-06-15T19:31:50.415Z","avatar_url":"https://github.com/esimorre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-flette\nMinimalist wedding between django and flet\n[Live demo](https://ricocs.alwaysdata.net/)\n\nImplementation of a minimalist pure python frontend/backend POC based on django and flet\n\n   * no DRF but a simple json view\n   * reuse of the flet \"todo\" sample\n   * a unique API function: initial loading of tasks corresponding to the names of django groups in base\n\n\n## flet client generation \n```python\n# can modify this in todo/main.py\nAPI_URL = \"https://MYSITE/api/\"\n# or with same origin\nAPI_URL = None\n```\n\n```bash\ncd todo\n# --web-renderer html : lighter client\nflet build web --base-url frontend --web-renderer html -o ../static/web\ncd ..\nzip static\n```\n\n## Installation (dev local)\n```bash\npython manage.py migrate\n# populate: user admin(admin) \u0026 groups/tasks\npython manage.py loaddata data.yaml\n\n# frontend \u0026 backend (same origin)\npython manage.py runserver \n\n# separate frontend (desktop mode)\nflet run -p 8001 main.py\n\n# separate frontend (browser)\nflet run -p 8001 --web main.py\n```\n\n## Deployement\n```bash\nwget https://github.com/esimorre/django-flette/archive/refs/heads/master.zip\nunzip master.zip\n(build venv)\npip install django==5.0 pyYAML\nget static.zip\nunzip static.zip -d ROOT_PROJECT\n\n# Apache: static pathes\n#/frontend/admin/=/.venv/lib/python3.12/site-packages/django/contrib/admin/static/admin/\n#/frontend/=/ROOT_PROJECT/static/web/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimorre%2Fdjango-flette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesimorre%2Fdjango-flette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimorre%2Fdjango-flette/lists"}