Skip to content

A simple blog website created using Flask and API integration

Notifications You must be signed in to change notification settings

Abhijeet17o/Flask-Blog-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blog Website

This is a simple blog website created using Flask, a lightweight web framework for Python, and API integration. The website consists of two pages and utilizes the Flask framework along with the Requests module in Python to retrieve data from an external API endpoint and display it on the webpage.

Features

  • Two-page website: The website includes a homepage with the blog titles and a blog page with the body of the blog.
  • Flask framework: Utilizes Flask, a micro web framework for Python, to handle routing, request handling, and template rendering.
  • API integration: Fetches data from an external API endpoint and displays it on the webpage.
  • Dynamic content: The content on the blog page is dynamically generated based on the data retrieved from the API.

Requirements

  • Python 3.x
  • Flask
  • Requests module

Usage

  1. Run the Flask application:
    python main.py
  2. Open a web browser to view the homepage and navigate to the blog page to see the dynamically fetched content.

Project Structure

  • main.py: Main Flask application file containing route definitions and application logic.
  • templates/: Directory containing HTML templates for the web pages.
  • static/: Directory for storing static files such as CSS, JavaScript, and images.

Contributing

Contributions are welcome! If you have any suggestions, enhancements, or bug fixes, feel free to open an issue or create a pull request.

Acknowledgments

  • Flask: A micro web framework for Python.
  • Requests: An elegant and simple HTTP library for Python.

Contact

For any inquiries or support, please contact [[email protected]].

About

A simple blog website created using Flask and API integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published