{"id":16544761,"url":"https://github.com/sinisaos/starlette-tortoise","last_synced_at":"2025-09-02T14:41:48.244Z","repository":{"id":39478086,"uuid":"213298800","full_name":"sinisaos/starlette-tortoise","owner":"sinisaos","description":"Q\u0026A application made with Starlette, Tortoise ORM and PostgreSQL","archived":false,"fork":false,"pushed_at":"2023-04-10T08:20:20.000Z","size":304,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T21:06:34.420Z","etag":null,"topics":["python","starlette","tortoise-orm"],"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/sinisaos.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":"2019-10-07T05:01:48.000Z","updated_at":"2022-08-13T01:40:22.000Z","dependencies_parsed_at":"2025-02-13T14:44:20.496Z","dependency_job_id":null,"html_url":"https://github.com/sinisaos/starlette-tortoise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sinisaos/starlette-tortoise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinisaos%2Fstarlette-tortoise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinisaos%2Fstarlette-tortoise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinisaos%2Fstarlette-tortoise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinisaos%2Fstarlette-tortoise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinisaos","download_url":"https://codeload.github.com/sinisaos/starlette-tortoise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinisaos%2Fstarlette-tortoise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271996769,"owners_count":24855692,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":["python","starlette","tortoise-orm"],"created_at":"2024-10-11T19:04:32.235Z","updated_at":"2025-08-25T02:06:46.275Z","avatar_url":"https://github.com/sinisaos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Example of [Starlette](https://www.starlette.io/) Q\u0026A application made with [Tortoise ORM](https://tortoise-orm.readthedocs.io/en/latest/) and PostgreSQL.\n\nOpen terminal and run:\n\n```shell\nvirtualenv -p python3 envname\ncd envname\nsource bin/activate\ngit clone https://github.com/sinisaos/starlette-tortoise.git\ncd starlette-tortoise\npip install -r requirements.txt\nsudo -i -u yourpostgresusername psql\nCREATE DATABASE questions;\n\\q\ntouch .env\n## put this two line in .env file\n## DB_URI=\"postgres://username:password@localhost:5432/questions\"\n## SECRET_KEY=\"your secret key\"\nuvicorn app:app --port 8000 --host 0.0.0.0 \n```\n\nFor Heroku deployment change DB_URI in .env file and BASE_HOST in settings.py and everything shoud be fine.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinisaos%2Fstarlette-tortoise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinisaos%2Fstarlette-tortoise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinisaos%2Fstarlette-tortoise/lists"}