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.
- 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.
- Python 3.x
- Flask (
pip install Flask
) - Jinja2 (comes with Flask)
- SQLite (included with Python)
- Clone or download the repository.
- Navigate to the project directory:
cd Flask-Chronicles
- Create a virtual environment:
python -m venv venv # Activate the virtual environment source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run the app:
python app.py
- Navigate to http://127.0.0.1:5000/ in your browser to view the blog.
- 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).
Contributions are welcome! If you have ideas for improvements or new features, please fork the repository and submit a pull request.
- Fork the repository
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m "Add feature"
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.
- Sakhile III
- LinkedIn Profile
- GitHub Profile