Set up your development environment.
- Python 3.11+
- Node.js 18+
- Docker & Docker Compose (optional — for compatibility only)
- Git
- PostgreSQL 15.15+ (CVE-2025-12817/12818 patched)
- Redis 7.4.2+ (CVE-2025-49844 defense)
Security Note: Container images in
docker-compose.local.ymlare pinned to security-patched versions. If running locally without Docker, ensure your PostgreSQL and Redis versions include these patches.
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up database
createdb residency_scheduler
# Run migrations
alembic upgrade head
# Start development server
uvicorn app.main:app --reloadcd frontend
# Install dependencies
npm install
# Start development server
npm run devNote: Native macOS is the primary development workflow. Docker is maintained for compatibility only.
For full-stack development with Docker:
# Start all services with hot reload
docker-compose -f docker-compose.yml -f docker-compose.local.yml up
# View logs
docker-compose logs -f backendRecommended extensions:
- Python
- Pylance
- ESLint
- Prettier
- Tailwind CSS IntelliSense
Configure:
- Python interpreter (venv)
- Django/FastAPI support
- Database tools