https://github.com/jordaneremieff/starlette-typesystem-databases-example
Example app using Starlette, Typesystem, and Databases
https://github.com/jordaneremieff/starlette-typesystem-databases-example
asyncio databases python sqlalchemy starlette typesystem
Last synced: 12 months ago
JSON representation
Example app using Starlette, Typesystem, and Databases
- Host: GitHub
- URL: https://github.com/jordaneremieff/starlette-typesystem-databases-example
- Owner: jordaneremieff
- License: mit
- Created: 2019-03-12T23:54:28.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2020-06-13T03:51:27.000Z (over 5 years ago)
- Last Synced: 2025-01-14T10:19:07.477Z (about 1 year ago)
- Topics: asyncio, databases, python, sqlalchemy, starlette, typesystem
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# starlette-typesystem-databases-example
An example application to demonstrate the usage of the following projects together:
* [Databases](https://github.com/encode/databases)
* [Typesystem](https://github.com/encode/typesystem)
* [Starlette](https://github.com/encode/starlette)
## Setup
Install the requirements:
```
pip3 install -r requirements.txt
```
Run the migrations:
```
alembic upgrade head
```
## Running
```
python app.py
```