Skip to content

Repository files navigation

Homework 9: RestAPI for Creating QR Codes

Install

  1. Clone
  2. Make virtual environment: python3 -m venv venv
  3. Activate virtual environment: source venv/bin/activate
  4. Install requirements: pip install -r requirements.txt
  5. IMPORTANT run: mkdir qr_codes to create a qr codes directory to save in, permissions will be messed up and the docker container won't be able to write to the qr_codes directory if you don't.
  6. Note: make sure docker is started
  7. run pytest locally to check that it works locally
  8. Start the app with docker compose up --build
  9. Goto http://localhost/docs to view openapi spec documentation
  10. Click "authorize" input username: admin password: secret
  11. Test making, retrieving, and deleting QR codes on the spec page.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages