Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (32 loc) · 1.36 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.36 KB

HostedAPI

I want to start building out an example Starlette service in production, and writing about the process as I'm doing so.

I'm hoping that by taking this on I'll be able to start filling in any gaps in the async Python web ecosystem we've been building up with Starlette, Uvicorn, Databases, ORM, TypeSystem, and HTTPX.

I'll be doing this work against a public repository, and trying to deal with any roadblocks openly without trying to hide away any points that might not yet be as mature as building out a service with Django or Flask might be.

I don't want to make too much of a public commitment about where this project will end up going just yet, but I'm keeping a progress log here to help share the learnings along the way.

Production Environment

The service is deployed to http://hostedapi.herokuapp.com/

Local Development

Requirements:

To install and run the application:

Create a new database 'hostedapi', then:

$ ./scripts/install
$ ./scripts/migration upgrade head
$ ./scripts/run

Run the lint checks and test suite:

$ ./scripts/test

Apply code formatting:

$ ./scripts/lint