PyCon Lithuania 2024

FastDjango: Conjuring Powerful APIs with the Sorcery of Django Ninja
2024-04-03 , Room 219

Dive into the world of modern web development by fusing the power of Django and FastAPI. This talk will guide you through the process of building robust, scalable, and efficient APIs using Django Ninja, a web framework that combines Django's reliability and FastAPI's speed. We'll explore how to leverage Django's ORM and user authentication while enjoying FastAPI's performance and type checking. Whether you're a Django veteran looking to supercharge your APIs or a beginner eager to learn cutting-edge techniq


Welcome to 'Django + FastAPI Fusion: Unleashing Robust APIs with Django Ninja Magic', a beginner-friendly exploration into the world of Django Ninja. This talk is designed for those who are just starting their journey in Django and are eager to expand their skills in modern web development.

We'll start with the basics, introducing you to Django Ninja, a toolkit that combines the simplicity and structure of Django with the speed and performance of FastAPI-like features. We'll walk you through the process of setting up your first Django Ninja project, explaining each step in a clear, easy-to-understand manner.

Next, we'll dive into the core of Django Ninja, exploring how it integrates Django's robust ORM and user authentication system with FastAPI-like type checking and performance benefits. We'll show you how to build powerful, efficient APIs that can handle complex data structures and high loads.

Throughout the talk, we'll be building a real-world application, giving you hands-on experience with Django Ninja. We'll also share best practices for structuring your code and handling common challenges in API development.

By the end of this talk, you'll have a solid understanding of Django Ninja and how to use it to build robust, high-performing APIs. You'll be equipped with the knowledge and confidence to start your own Django Ninja projects and take your Django skills to the next level.

Whether you're a Django beginner looking to learn new techniques or a seasoned developer interested in modern web development practices, this talk will provide valuable insights and practical skills. Join us to discover the magic of Django Ninja and unleash the power of Django + FastAPI fusion in your web development journey!

I am currently a dedicated Computer Science student in my third year at Accra Technical University, located in the vibrant city of Accra, Ghana. As a passionate software engineer, I specialize in Python and Django, with a knack for crafting robust APIs using Django Rest Framework.

My journey in the realm of software engineering has been marked by the creation of some exciting projects using Django and Django Rest Framework. Leveraging third-party libraries and exploring Infrastructure as Code (IaC), I've ventured into the world of cloud computing for efficient storage solutions and more.

Beyond academics, I serve as the Google Developer Student Club lead for my campus, fostering a community of eager learners and enthusiasts. Additionally, I take pride in being the Lead Influencer of Crowdsourc eby Google, where I organize engaging Machine Learning workshops and guide individuals in contributing to Google AI initiatives.

At the forefront of community building, I lead PyClub on my campus, advocating for the versatility of Python through workshops and insightful discussions. As a Campus Ambassador for PayBox Global, a fintech company, I bridge the gap between technology and finance, bringing innovative solutions to my campus community.

My journey is fueled by a passion for technology, a commitment to community empowerment, and a belief in the transformative power of Python. I look forward to continuing this exciting journey and contributing meaningfully to the world of technology.