- Level Professional
- Duration 20 hours
- Course by Meta
-
Offered by
About
Delve deeper into the processes and concepts behind APIs and their infrastructure. Explore the key concepts that underpin API development and the principles of representational state transfer architectural style (REST) architecture. Build basic API and REST data backbones for web apps using Django. Discover emerging API technology and practice other ways to build and work with APIs. Finally, you will test, optimize and develop documentation for an API. By the end of this course you will be able to: • Work with and build APIs • Build basic API and REST data backbones for web apps using Django • Discover emerging API technology • Test, optimize and develop documentation for an API To complete this course, you will need Django experience. Additionally, it always helps to have a can-do attitude!Modules
Course introduction
1
Discussions
- What do you hope to learn?
2
Videos
- Introduction to the course
- How are APIs used in the real world?
3
Readings
- Course syllabus
- Working with labs and exercises in this course
- How to be successful in this course
Introduction to APIs
1
Assignment
- Self review: Know your tools
5
Videos
- What you know about HTTP
- RESTfulness
- Naming conventions
- Essential tools for API development
- Create a Django Project using pipenv
7
Readings
- HTTP methods, status codes and response types
- Good routes versus bad routes
- Installing VS Code
- Setting up tools and environment
- Optional: Creating a Django project (steps and code)
- Exercise: Know your tools
- Additional resources
1
Quiz
- Knowledge Check: Introduction to APIs
Principles of API development
1
Assignment
- Knowledge check: Principles of API development
3
Videos
- REST best practices
- Security and authentication in REST API
- Access control
1
Readings
- Authentication versus authorization
Writing your first API: Next steps
2
Assignment
- Self review: Your first API
- Module quiz: REST APIs
1
Labs
- Exercise: Your first API
5
Videos
- Book List API project
- Organizing an API project
- Debugging your API
- Browser tools and extensions for API development
- Module summary: REST APIs
4
Readings
- Consequences of a poorly designed API project
- XML and JSON response types
- Solution: Your first API
- Mock APIs
Introduction to Django REST Framework (DRF)
2
Assignment
- Self review: Convert booklist API project to DRF
- Knowledge check: Introduction to DRF
1
Labs
- Convert booklist API project to DRF
6
Videos
- What is the Django REST framework (DRF)?
- Installing and setting up DRF
- Better API view with decorators
- Function and class-based views
- Django debug toolbar
- Restaurant menu API project with DRF
4
Readings
- Different types of routing in DRF
- Generic views and ViewSets in DRF
- Solution: Convert booklist API project to DRF
- Additional resources
Django REST framework essentials
2
Assignment
- Self review: Restaurant menu API using serialization
- Module quiz: Django REST framework
1
Labs
- Exercise: Restaurant menu API using serialization
6
Videos
- Serializers
- Model serializers
- Relationship serializers
- Deserialization and validation
- Renderers
- Module summary: Django REST framework
4
Readings
- Other types of serializers in DRF
- Different types of renderers
- Solution: Restaurant menu API using serialization
- Additional resources
Filtering, ordering and searching
2
Assignment
- Self review: Restaurant menu API - filtering, ordering and searching
- Knowledge check: Essential API tasks
1
Labs
- Exercise: Restaurant menu API - filtering, ordering and searching
4
Videos
- Filtering and searching
- Ordering
- Pagination
- Caching
5
Readings
- Importance of data validation
- Data sanitization
- More on filtering and pagination
- Solution: Restaurant menu API - filtering, ordering and searching
- Additional resources
Securing an API in Django REST framework
2
Assignment
- Self review: User account management
- Module quiz: Securing an API in Django REST framework
7
Videos
- Token-based authentication in DRF
- User roles
- Setting up API throttling
- Introduction to Djoser library for better authentication
- Registration and authentication endpoints with JWT
- User account management
- Module summary: Securing an API in Django REST framework
4
Readings
- API throttling for class-based views
- Exercise: User account management
- Solution: User account management
- Additional resources
Final project and graded assessment
1
Assignment
- Final graded quiz: APIs
1
Peer Review
- Little Lemon API project
1
Discussions
- What challenges did you encounter when building your restaurant API?
3
Videos
- Course recap: APIs
- Project introduction
- Creating models
3
Readings
- About the final assessment
- Project structure and API routes
- Peer-review solution
Course wrap up
1
Discussions
- Reflect on learning
1
Videos
- Course wrap up
1
Readings
- Next steps
Auto Summary
This IT & Computer Science course on Coursera, led by expert instructors, offers an in-depth exploration of APIs and REST architecture. Ideal for professionals with Django experience, it covers API development, emerging technologies, and optimization techniques over 1200 minutes. With a Starter subscription, learners will gain hands-on skills to build, test, and document robust APIs for web applications.

Taught by Meta Staff