{"id":18308629,"url":"https://github.com/encode/hostedapi","last_synced_at":"2025-04-05T17:32:18.732Z","repository":{"id":35549363,"uuid":"212104393","full_name":"encode/hostedapi","owner":"encode","description":"Building out an example Starlette service 💚","archived":true,"fork":false,"pushed_at":"2024-08-26T10:16:43.000Z","size":823,"stargazers_count":93,"open_issues_count":0,"forks_count":11,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-01T01:25:22.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hostedapi.herokuapp.com/","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/encode.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}},"created_at":"2019-10-01T13:33:55.000Z","updated_at":"2024-08-31T17:50:14.000Z","dependencies_parsed_at":"2022-09-17T20:20:55.299Z","dependency_job_id":null,"html_url":"https://github.com/encode/hostedapi","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/encode%2Fhostedapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/encode%2Fhostedapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/encode%2Fhostedapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/encode%2Fhostedapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/encode","download_url":"https://codeload.github.com/encode/hostedapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247375068,"owners_count":20928940,"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":[],"created_at":"2024-11-05T16:08:37.783Z","updated_at":"2025-04-05T17:32:14.736Z","avatar_url":"https://github.com/encode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HostedAPI\n\nI want to start building out an example Starlette service in production,\nand writing about the process as I'm doing so.\n\nI'm hoping that by taking this on I'll be able to start filling in any gaps\nin the async Python web ecosystem we've been building up with Starlette, Uvicorn,\nDatabases, ORM, TypeSystem, and HTTPX.\n\nI'll be doing this work against a public repository, and trying to deal with any\nroadblocks openly without trying to hide away any points that might not yet be\nas mature as building out a service with Django or Flask might be.\n\nI don't want to make too much of a public commitment about where this project\nwill end up going just yet, but I'm keeping a [progress log here](https://github.com/encode/hostedapi.com/blob/master/PROGRESS.md) to help share the learnings along the way.\n\n## Production Environment\n\nThe service is deployed to http://hostedapi.herokuapp.com/\n\n## Local Development\n\nRequirements:\n\n* [Python 3.7](https://www.python.org/downloads/)\n* [Postgres](https://www.postgresql.org/download/) (For Mac, I'd recommend [Postgres.app](https://postgresapp.com/))\n\nTo install and run the application:\n\nCreate a new database 'hostedapi', then:\n\n```shell\n$ ./scripts/install\n$ ./scripts/migration upgrade head\n$ ./scripts/run\n```\n\nRun the lint checks and test suite:\n\n```shell\n$ ./scripts/test\n```\n\nApply code formatting:\n\n```shell\n$ ./scripts/lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fencode%2Fhostedapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fencode%2Fhostedapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fencode%2Fhostedapi/lists"}