Build API With Django REST Framework

Build API With Django REST Framework

Ef2d6c611621c74296a964f82f7863a1?s=128

Ngalam Backend Community

February 20, 2019
Tweet

Transcript

  1. Build API with django REST framework Express Your Feeling With

    Code
  2. Express Your Feeling With Code A powerful and flexible toolkit

    for building Web APIs.
  3. Express Your Feeling With Code Installation Virtual Environment: • pip

    install Django • pip install djangorestframework INSTALLED_APPS = ( 'rest_framework', )
  4. Express Your Feeling With Code Quickstart Serializer Class based Views

  5. Express Your Feeling With Code How data is represented. Serializers

    • BaseSerializer • HyperlinkedModelSerializer • ListSerializer • ModelSerializer • Serializer
  6. Express Your Feeling With Code Powerful pattern that allows us

    to reuse common functionality. Class based Views • Mixins • Generics • Viewsets
  7. Express Your Feeling With Code Reference : • django-rest-framework.org •

    cdrf.co Example project : • github.com/mahrus-kh/meetup-nbc-drf • meetup-nbc-drf.herokuapp.com