Skip to content

A simple and lightweight blog built with Flask. Showcasing posts on coding, tech, and personal projects. Open-source and ready to deploy! ⚗️

License

Notifications You must be signed in to change notification settings

sakhileln/Flask-Chronicles

Repository files navigation

Simple Flask Blog ⚗️

This is a simple blog built with Flask. It allows you to create, edit, and view posts, showcasing basic web development concepts like routing, templates, and forms. This project serves as an easy-to-follow example of a lightweight blog app, perfect for learning or personal projects.

Table of Contents

Features

  • Post Creation: Add new blog posts via a simple form.
  • Post Display: View all published posts in a clean, minimal layout.
  • Post Editing: Edit or update existing posts.
  • Post Deletion: Remove posts when no longer needed.
  • Responsive Design: Mobile-friendly UI for a smooth experience across devices.

Requirements

  • Python 3.x
  • Flask (pip install Flask)
  • Jinja2 (comes with Flask)
  • SQLite (included with Python)

How to Run

  1. Clone or download the repository.
  2. Navigate to the project directory:
    cd Flask-Chronicles
  3. Create a virtual environment:
    python -m venv venv
    
    # Activate the virtual environment
    source venv/bin/activate
  4. Install dependencies:
    pip install -r requirements.txt
  5. Run the app:
    python app.py
  6. Navigate to http://127.0.0.1:5000/ in your browser to view the blog.

Usage

  • The app includes simple routes for viewing, creating, and managing posts.
  • The home page will show a list of posts.
  • You can add, edit, or delete posts through the admin interface.
  • The posts are saved in an SQLite database (blog.db).

Contributing

Contributions are welcome! If you have ideas for improvements or new features, please fork the repository and submit a pull request.

  1. Fork the repository
  2. Create your feature branch:
    git checkout -b feature/YourFeature
  3. Commit your changes:
    git commit -m "Add feature"
  4. Push to the branch:
    git push origin feature/YourFeature
  5. Open a pull request.

Contact

About

A simple and lightweight blog built with Flask. Showcasing posts on coding, tech, and personal projects. Open-source and ready to deploy! ⚗️

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages