feat: Set up SessionMiddleware and Jinja2 Template Configuration

- Add SECRET_KEY environment variable and .env file for session management
- Configure SessionMiddleware with FastAPI for user session handling
- Set up Jinja2 template engine with template directory configuration
- Mount static files directory for CSS, JS, and image assets
- Create comprehensive base.html template with Bootstrap 5 CDN
- Add Bootstrap Icons and custom styling support
- Include responsive navigation with user authentication state
- Create placeholder CSS and JavaScript files for customization
- Add aiofiles dependency for static file serving

This establishes the web framework foundation with session management
and templating system ready for frontend development.
This commit is contained in:
HotSwapp
2025-10-06 18:27:44 -05:00
parent de983a73d2
commit 227c74294f
6 changed files with 256 additions and 2 deletions

View File

@@ -7,3 +7,4 @@ passlib[bcrypt]==1.7.4
python-dotenv==1.0.0
uvicorn[standard]==0.24.0
jinja2==3.1.2
aiofiles==23.2.1