{"id":19412354,"url":"https://github.com/almas-ali/backkr","last_synced_at":"2025-04-24T11:31:10.647Z","repository":{"id":91975965,"uuid":"607700990","full_name":"Almas-Ali/backkr","owner":"Almas-Ali","description":"A backend framework the web","archived":false,"fork":false,"pushed_at":"2025-03-30T16:20:55.000Z","size":43,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T17:26:29.558Z","etag":null,"topics":["backend","framework","web"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Almas-Ali.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":"2023-02-28T14:03:49.000Z","updated_at":"2024-06-18T20:48:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"1878a21c-dd13-4f5f-b64c-740d71dc1df7","html_url":"https://github.com/Almas-Ali/backkr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almas-Ali%2Fbackkr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almas-Ali%2Fbackkr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almas-Ali%2Fbackkr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almas-Ali%2Fbackkr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Almas-Ali","download_url":"https://codeload.github.com/Almas-Ali/backkr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250618143,"owners_count":21460036,"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":["backend","framework","web"],"created_at":"2024-11-10T12:26:18.295Z","updated_at":"2025-04-24T11:31:10.345Z","avatar_url":"https://github.com/Almas-Ali.png","language":"Python","readme":"# Backkr - A backend framework the web \n\nCreated by [**@Almas-Ali**](https://github.com/Almas-Ali)\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Documentation](#documentation)\n- [License](#license)\n\n## Introduction\n\nTry out the [**examples/**](https://github.com/Almas-Ali/backkr/tree/master/examples/) folder to see how to use the framework.\n\n## Installation\n\n```bash\npip install backkr\n```\n\n## Usage\n\n```python\nfrom datetime import datetime\n\nfrom backkr import (\n    Backkr,\n    HTMLResponse\n)\n\napp = Backkr()\n\n@app.get('/')\nasync def index(request):\n    return HTMLResponse(\n        '\u003ch1\u003eHello World, Time: {{ time }}\u003c/h1\u003e',\n        time=datetime.now().strftime(\"%H:%M:%S\")\n    )\n\n@app.get('/{path}')\nasync def error_404(request):\n    path = request.match_info.get('path')\n    return HTMLResponse(f'''\\\n\u003ccenter\u003e\n    \u003ch1\u003e404 Not Found\u003c/h1\u003e\n    \u003cp\u003ePage /{path} not found\u003c/p\u003e\n\u003c/center\u003e\n''')\n\n\nif __name__ == \"__main__\":\n    app.run(\n        debug=True,\n        host='127.0.0.1',\n        port=8000\n    )\n\n```\n\n## Documentation\n\n[Website](https://almas-ali.github.io/backkr/)\n\n## LICENSE\n\nLicensed under the [**MIT LICENSE**](https://github.com/Almas-Ali/backkr/tree/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmas-ali%2Fbackkr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falmas-ali%2Fbackkr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmas-ali%2Fbackkr/lists"}