/flask-demo

Dockerized Flask API with PostgreSQL

Primary LanguagePython

flask-demo

watch the demo youtube

getting started

  1. build the docker containers:

    docker compose build
  2. run the containers in detached mode:

    docker compose up -d
  3. recreate the database:

    docker compose exec api python manage.py recreate_db
  4. visit http://localhost:5000/api/v1/docs to create, read, update and delete movies

  5. stop the containers:

    docker compose down