Visão Geral
O curso Deploying Django REST Framework APIs on Google Cloud oferece uma formação prática para desenvolvedores que desejam criar, gerenciar e implantar APIs RESTful utilizando Django REST Framework (DRF) em ambientes de nuvem Google Cloud. Os participantes aprenderão desde a configuração de projetos Django, desenvolvimento de APIs, integração com bancos de dados, até o deploy seguro e escalável em serviços como Google App Engine e Cloud SQL.
Conteúdo Programatico
Introduction to Django REST Framework (DRF)
- Overview of RESTful APIs
- Installing and Setting Up Django REST Framework
- Creating Your First API Endpoint
Project Setup and Configuration
- Structuring Django Projects for APIs
- Managing Settings for Development and Production
- Configuring Virtual Environments and Dependencies
Models, Serializers, and Views
- Defining Models and Relationships
- Creating Serializers for Data Validation
- Building API Views with Function-Based and Class-Based Views
Authentication and Permissions
- Using Token-Based Authentication
- Role-Based Access Control
- Securing API Endpoints
Working with Databases in Google Cloud
- Introduction to Cloud SQL
- Connecting Django to Cloud SQL
- Managing Migrations and Database Operations
Advanced API Features
- Filtering, Pagination, and Ordering
- Throttling and Rate Limiting
- Versioning APIs and Handling Errors
Testing and Debugging APIs
- Writing Unit and Integration Tests for APIs
- Using Postman and cURL for Testing
- Debugging API Issues in Development
Deploying to Google Cloud
- Introduction to Google App Engine and Cloud Run
- Configuring App.yaml and Deployment Settings
- Deploying Django REST APIs to the Cloud
Monitoring and Logging
- Setting Up Stackdriver Logging and Monitoring
- Analyzing Performance Metrics
- Debugging Issues in Production
Scaling and Optimization
- Horizontal and Vertical Scaling in Google Cloud
- Caching and Performance Optimization
- Best Practices for Production-Ready APIs
Final Project
- Developing and Deploying a Complete Django REST Framework API
- Integration with Cloud SQL, Security, and Monitoring
- Demonstrating End-to-End Workflow in Google Cloud