Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.38 KB

README.md

File metadata and controls

68 lines (51 loc) · 2.38 KB

DjangoBlog-API

This repo include API creation for the blog DjangoBlog using Django Rest Framework

Features

In addition to features of DjangoBlog, this API consists of features:

  • Generic Views
  • Permissions
  • Serializers
  • Filtering
  • Pagination

To access API, head to : http://127.0.0.1:8000/api/posts/

api

Similarly after registering, if you want Edit/Update , head to http://127.0.0.1:8000/api/posts/< post-id >/edit

For Creating head to http://127.0.0.1:8000/api/posts/create

For Deleting head to http://127.0.0.1:8000/api/posts/< post-id >/delete

Screenshots


For registration head to http://127.0.0.1:8000/register/

  • Registration: register

For login head to http://127.0.0.1:8000/login/

  • Login: login

For Homepage head to http://127.0.0.1:8000/

  • Hompage: homepage

Technology Stack:

  • Python 3
  • django 1.10
  • django-markdown-deux

Installing the latest django-markdown-deux release from PyPI: pip install django-markdown-deux

  • Add markdown_deux to INSTALLED_APPS in your project's "settings.py".

For further help on django-markdown-deux visit https://github.com/trentm/django-markdown-deux

  • django-pagedown

Installing: pip install django-pagedown

  • Add django-pagedown to your INSTALLED_APPS

For further help on django-pagedown visit https://github.com/timmyomahony/django-pagedown

  • Django REST Framework

Installing

pip install djangorestframework
pip install markdown       # Markdown support for the browsable API.
pip install django-filter  # Filtering support
  • Add rest_framework to your INSTALLED_APPS

For further help on DjangoRESTFramework visit http://www.django-rest-framework.org/