encode / hostedapi

Building out an example Starlette service πŸ’š

Home Page:https://hostedapi.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Building out an example Starlette service πŸ’š

https://hostedapi.herokuapp.com/


Languages

Language:Python 77.1%Language:HTML 21.3%Language:Shell 0.9%Language:CSS 0.4%Language:Mako 0.3%