Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 782 Bytes

File metadata and controls

17 lines (12 loc) · 782 Bytes

Learning Project

This is a containerized python API for a social media project using the FastAPI framework, and a PosgreSQL DB. The API counts with secure authentication and authorization for users.

To be added next:

  • testing
  • deployment

Setup

Option 1: local machine

Via pyenv or venv, or local devcontainer.

  • VENV: Run the .\.pyApiEnv\Scripts\Activate.ps1 file within a PowerShell terminal and then pip install -r requirements.txt to install all the packages. The python version used for development is 3.11.
  • PYENV:
  • DEVCONTAINER: Open and login to Docker Desktop. Use the Devcontainer VSC extension and within the Command Palette (Ctrl + Shift+ P), go to Dev Containers: Reopen in Dev Container

Option 2: cloud machine via codespaces