Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.1 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.1 KB

Timetabling

Badges

Unit Tests Integration Tests Updating to Cloud

What is needed?

  • Create Python's Virtual Environment
    • python3 -m venv venv
    • Activate venv
      • Ubuntu
        • . venv/bin/activate
      • Windows
        • . venv\Scripts\activate.bat
    • pip install fastapi "uvicorn[standard]" python-multipart sqlalchemy jinja2
    • ASGI Server: "uvicorn[standard]"
    • Template and DB support
      • python-multipart
      • sqlalchemy
      • jinja2
  • Start Server
    • from the timetabling folder:
      • "uvicorn file_name:server_instance --reload" (Reload only while in develop mode)
      • uvicorn app:app --reload
    • Obs.: Has auto docs at /docs

Acknowledgments

The original structure of an web app with fasAPI was inspired by Patrick Loeber's.