Open vrajpatelll opened 2 weeks ago
Implement a FastAPI backend with an endpoint for processing news articles, following a well-organized folder structure.
Files to create/change:
src/api/main.py
src/api/routes/news.py
src/api/models/news.py
src/api/schemas/news.py
src/api/dependencies/news.py
Folder structure to keep in mind:
src/ ├── api/ │ ├── main.py │ ├── routes/ │ │ └── news.py │ ├── models/ │ │ └── news.py │ ├── schemas/ │ │ └── news.py │ ├── dependencies/ │ │ └── news.py │ └── core/ │ ├── config.py │ └── security.py ├── pipeline/ │ ├── article_pipeline.py │ └── pipeline_manager.py ├── tasks/ │ ├── article_tasks.py │ └── news_fetcher.py ├── storage/ │ └── result_manager.py └── utils/ ├── logger.py └── monitoring.py
Considerations:
Checklist:
I really like your website and want to contribute can you assign me this issue under gssoc-ext2024
Implement a FastAPI backend with an endpoint for processing news articles, following a well-organized folder structure.
Files to create/change:
src/api/main.py
src/api/routes/news.py
src/api/models/news.py
src/api/schemas/news.py
src/api/dependencies/news.py
Folder structure to keep in mind:
Considerations:
Checklist: