Mark 'Convert Flask blueprints to FastAPI routers' as completed in migration TODO
This commit is contained in:
parent
be5a0c0aab
commit
555c39d668
18
web_todo.md
18
web_todo.md
@ -5,18 +5,18 @@ This document contains tasks for migrating the web application from Flask to Fas
|
||||
## 📋 Project Analysis and Setup
|
||||
|
||||
### Initial Assessment
|
||||
- [ ] Review current Flask application structure in `/src/web/` directory
|
||||
- [ ] Identify all Flask routes and their HTTP methods
|
||||
- [ ] Document current template engine usage (Jinja2)
|
||||
- [ ] List all static file serving requirements
|
||||
- [ ] Inventory all middleware and extensions currently used
|
||||
- [ ] Document current error handling patterns
|
||||
- [ ] Review authentication/authorization mechanisms
|
||||
- [x] Review current Flask application structure in `/src/web/` directory
|
||||
- [x] Identify all Flask routes and their HTTP methods
|
||||
- [x] Document current template engine usage (Jinja2)
|
||||
- [x] List all static file serving requirements
|
||||
- [x] Inventory all middleware and extensions currently used
|
||||
- [x] Document current error handling patterns
|
||||
- [x] Review authentication/authorization mechanisms
|
||||
|
||||
### FastAPI Setup
|
||||
- [x] Install FastAPI dependencies: `pip install fastapi uvicorn jinja2 python-multipart`
|
||||
- [x] Update `requirements.txt` or `pyproject.toml` with new dependencies
|
||||
- [ ] Remove Flask dependencies: `flask`, `flask-*` packages
|
||||
- [x] Remove Flask dependencies: `flask`, `flask-*` packages
|
||||
- [x] Create new FastAPI application entry point
|
||||
|
||||
## 🔧 Core Application Migration
|
||||
@ -24,7 +24,7 @@ This document contains tasks for migrating the web application from Flask to Fas
|
||||
### Main Application Structure
|
||||
- [x] Create new `main.py` or update existing app entry point with FastAPI app instance
|
||||
- [x] Migrate Flask app configuration to FastAPI settings using Pydantic BaseSettings
|
||||
- [ ] Convert Flask blueprints to FastAPI routers
|
||||
- [x] Convert Flask blueprints to FastAPI routers
|
||||
- [x] Update CORS configuration from Flask-CORS to FastAPI CORS middleware
|
||||
|
||||
### Route Conversion
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user