This is a simple blog API built using Django and Django REST Framework, based on the Django for APIs tutorial by William S. Vincent.
- Token-based authentication
- CRUD operations for blog posts
- Clean project structure following best practices
- Powered by Django REST Framework (DRF)
blogapi/
├── blog_project/ # Django project settings
├── posts/ # Blog app with API logic
├── db.sqlite3 # SQLite database
├── manage.py # Django management script
├── Pipfile # Project dependencies
git clone https://github.com/Mechantchulo/blogapi.git
cd blogapiUsing pipenv:
pipenv install
pipenv shellOr with pip:
pip install -r requirements.txtpython manage.py migratepython manage.py createsuperuserpython manage.py runserverVisit http://127.0.0.1:8000/api/ to view the API.
- Django
- Django REST Framework
- SQLite
- Pipenv
This project is based on the Django for APIs book by William S. Vincent.
Erick Mutua
Feel free to fork, star, and contribute!