How yash-anpat/news-api-flask-project works
This is a small Flask news-search web app. A user submits a query to the home route; on POST, the route calls NewsAPI and renders the returned articles in the index template. The sampled source establishes these relationships. The README is empty, and the template and stylesheet were not excerpted, so their contents and any styling links are not represented.
Main entry points: app.py Home route · index.html Results template
Components 4
Other components
- User
- Home route
app.py - NewsAPI
- Results template
templates/index.html
Connections 3
- User → Home route: submits query
app.py - Home route → NewsAPI: requests articles
app.py - Home route → Results template: renders results
app.py