Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 1.98 KB

File metadata and controls

59 lines (48 loc) · 1.98 KB

Blog Project

A simple blog application built with Django, showcasing the backend development process. This project is part of my learning journey as a backend developer, where I integrate databases, handle user authentication, and work with dynamic content rendering.

Features

User authentication (Login/Logout/Register) Create, read, update, and delete (CRUD) blog posts Dynamic content rendering using Django templates Admin panel for blog management Comment system for blog posts Responsive design

Technologies Used

Django: Python-based web framework for backend development SQLite: Database for data persistence HTML/CSS: Frontend styling Bootstrap: For responsive design

Setup

To run this project locally, follow these steps:

git clone https://github.com/ARZF/blog.git
cd blog
python -m venv env
source env/bin/activate   # On Windows, use `env\Scripts\activate`
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver

Open your browser and go to http://127.0.0.1:8000 to view the blog.

Project Structure

blog/
├── blog_app/           # Main application directory
│   ├── migrations/     # Database migration files
│   ├── templates/      # HTML templates for rendering
│   ├── models.py       # Database models
│   ├── views.py        # Logic for handling requests
│   └── ...
├── static/             # Static files (CSS, JavaScript, images)
├── db.sqlite3          # SQLite database file
├── manage.py           # Django management script
├── requirements.txt    # List of dependencies
└── README.md           # This file

Future Improvements

Implement user profiles with the ability to upload a profile picture Add search functionality for blog posts Implement pagination for large blog post lists Improve the frontend design for a more modern look

Contributing

Feel free to fork this repository and submit pull requests. Any contributions to enhance the project are welcome!