GithubHelp home page GithubHelp logo

xingangl / hostedapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from encode/hostedapi

0.0 0.0 0.0 833 KB

Building out an example Starlette service ๐Ÿ’š

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

Shell 0.87% Python 77.11% CSS 0.36% HTML 21.31% Mako 0.35%

hostedapi's Introduction

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

hostedapi's People

Contributors

tomchristie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.