/blog

A Flask blog site is a web application built using the Flask framework. It allows users to create, for rapid development and deployment.edit, and delete blog posts, view a list of posts, and read individual post details. The site typically includes user authentication for secure access and an admin interface for managing content.

Primary LanguagePython

# Flask Blog

A simple blog web application built using the Flask framework. It allows users to create, edit, and delete blog posts, view a list of posts, and read individual post details. User authentication is implemented to secure access, along with an admin interface for managing content.

## Features
- User registration and authentication
- Create, read, update, and delete blog posts
- Responsive design for seamless access on all devices

## Installation

1. **Clone the repository:**
   ```sh
   git clone https://github.com/USERNAME/REPOSITORY.git
   cd REPOSITORY
  1. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate   # On Windows use `venv\Scripts\activate`
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up the database:

    flask db init
    flask db migrate -m "Initial migration."
    flask db upgrade
  4. Run the application:

    flask run

Usage

  • Access the application at http://127.0.0.1:5000/
  • Register for an account or log in if you already have one
  • Create, edit, and delete blog posts from the user dashboard

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for review.

License

This project is licensed under the MIT License.


Replace `USERNAME` and `REPOSITORY` with your GitHub username and repository name, respectively.