3. Agenda
➔ What is Python, Django and django-rest-framework?
➔ Why create REST APIs?
➔ Show me the code!
➔ Hands-on
4. What is Python, Django and Django-Rest-Framework?
➔ Python
◆ Interpreted, object-oriented, high-level programming language with dynamic
semantics
◆ Simple and easy to learn!
◆ Used for website backend, scientific computing, big data analysis, scripting,
etc.
➔ Django
◆ A web-framework built using python
◆ Relied upon by giants like Instagram, New York Times, Disqus to name a few!
◆ An MTV (MVC) framework
5. What is Python, Django and Django-Rest-Framework?
➔ Django-Rest-Framework
◆ A framework built as a django application
◆ Simply install using pip and configure in settings.pyunder
INSTALLED_APPS
◆ Enables developer to quickly start developing RESTful APIs
6. ➔ How do you separate your UI from Business Layer?
➔ What if your idea got really large?
➔ What if others are interested in creating applications on your platform?
➔ How do app providers interact with your service?
➔ APIs are the answer!
➔ Examples: third party applications developed on top of Twitter, Facebook, etc.
Why create REST APIs?
8. Topics to be covered under hands-on
➔ Creating a Django Project
➔ Install required packages through pip
➔ Setting up the database
➔ Setting up the URLs and Views
➔ Principles of RESTful API design
➔ Creating APIs
➔ Adding authentication to APIs