FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

piccolo-orm/pymdb: A demo Piccolo app - a movie database! · GitHub

Repository files navigation

PyMDb

Welcome to the Python Movie Database!

Built using Piccolo, Piccolo Admin, and FastAPI.

Created for a presentation given at PyData Global 2021.

Running it

Create a Postgres database called 'pymdb' (see piccolo_conf.py for the details).

pip install -r requirements.txt
piccolo migrations forwards all
piccolo movies load_data
piccolo user create

To run the server:

python main.py

Then load localhost:8000 in your browser. localhost:8000/admin shows the admin interface, and localhost:8000/docs shows the Swagger docs.

Creating something similar

To create your own app like this from scratch, start with the following:

pip install piccolo['all']
piccolo asgi new

About

A demo Piccolo app - a movie database!

Resources

Stars

17 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL