-
Sign up for Docker on Docker Hub
-
Download and install Docker Desktop
-
Start Docker Desktop and ensure it's running (look for the Docker icon in your system tray/menu bar)
-
setup
git clone https://github.com/AzureAIDevHackathon/Backend.git
cd backend
code . -r
git checkout dev
- rename env.sample to .env
Heres the secret you want to paste into .env:
SECRET_KEY=yaybycydye
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
SA_PASSWORD=azureaihack2025!
# Database configuration
DB_USER=sa
DB_PASSWORD=azureaihack2025!
DB_SERVER=localhost
DB_PORT=1433
DB_NAME=FinancialBudgetApp
- run:
docker compose up -d --build
- goto: localhost:8080/docs
- Create a virtual environment
python -m venv .venv
- Activate the virtual environment
In windows:
Powershell terminal:
.venv\Scripts\Activate.ps1
Bash terminal:
source .venv/Scripts/activate
In Linux, macOS
source .venv/bin/activate
- Upgrading pip
python -m pip install --upgrade pip
- Installing packages
pip install -r requirements.txt
- Database
alembic upgrade head
The server will run on:
localhost:8080
See routes_documentation.md for the complete API documentation and workflow explanation.