This is a simple Blog API built using Django and Django REST Framework. It features user authentication and supports creating and managing blog posts. The API is designed with two main apps: accounts for user management and posts for handling blog content.
- User authentication
- Create, read, update, and delete blog posts
- Browsable API interface
- CORS support with
django-cors-headers
Create python venv
python -m venv .venv
activate env
source .venv/bin/activate
- Python 3.x
- Django 3.x or higher
- Django REST Framework
- django-cors-headers
-
Clone the repository:
git clone https://github.com/hanzalaareeb/Blog-app-Django.git
-
Run requierment.txt:
pip install -r requirements.txt
-
add permissions
-
Add user authentications