TU SIGUIENTE PASO

Build An API With Python and Django by Codemy

Codemy · 12 lecciones · Gratis en YouTube

LECCIÓN 6 / 12

Django Startapp and Urls.py - Build An API With Python Django #6

←Siguiente

Sobre este curso

Turn your Python skills into a real backend project by building a REST API with Django and Django REST Framework. In this course, you will go from initial setup to a working API that can serve data to any client app, helping you understand how modern web services are designed and delivered. You will learn how an API typically responds in JSON, why that matters for web and mobile applications, and how to structure a project so it remains clean as it grows.

You will start by preparing your development environment the right way, including essential tooling and a workflow that works on Windows using Git Bash. You will also use virtual environments to isolate dependencies, avoid conflicts between projects, and keep your setup reproducible. From there, you will create a Django project and app, wire up URL routing, and get comfortable with running Django commands in the correct context so your project stays predictable.

Once the foundation is in place, you will step into the parts that make backend development practical: managing data and exposing it safely. You will create a model to represent courses, generate the database table using migrations, and use the Django admin area to view and manage records efficiently. You will also customize how items appear so administration is faster and more human-friendly.

To transform database objects into API responses, you will work with serializers in Django REST Framework, learning how to choose the right fields to expose and how model instances become JSON. Along the way, you will connect common HTTP methods to real API behavior, including which method is used to create new resources. By the end, you will have a clear understanding of the core building blocks behind a Django REST API and the confidence to start building your own backend endpoints for real projects.

SIEMPRE HAY ALGO MÁS

Sigue alimentando tu curiosidad.

Explorar más cursos
De la comunidad, para la comunidad

¿Encontraste un gran curso?

Compártelo. Nuestro equipo lo revisará antes de añadirlo al catálogo.