Blog Sphere is a simple blogging platform built with Flask, HTML, CSS, and JavaScript. It allows users to register, log in, create, edit, and delete blog posts. The application uses SQLite for persistent storage and includes a user profile page.
- User registration and authentication.
- Create, edit, and delete blog posts.
- User profile page displaying user information and their posts.
- SQLite database for persistent storage.
- Python 3.x
- Flask
- Flask-SQLAlchemy
- Werkzeug
-
Clone the repository:
git clone https://github.com/INFOTRIXS/11-Blogging-Platform.git blog-sphere
-
Navigate to the project directory:
cd blog-sphere
-
Create a virtual environment (optional but recommended):
On Windows:
py -3.x -m venv .venv
On macOS and Linux:
python3 -m venv .venv
-
Activate the virtual environment:
On Windows:
.\.venv\Scripts\activate
On macOS and Linux:
source .venv/bin/activate
-
Install the required dependencies:
python -m pip install -r requirements.txt
-
Run the application:
python app.py
The application will be accessible at http://localhost:5000/.
- Open your web browser and go to http://localhost:5000/.
- Register for a new account or log in if you already have one.
- Explore the home page, create new blog posts, and manage your posts through the user profile page.
- Log out when you are done.