Skip to content

Ubiwhere/django-optimization-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Optimization 101 🚀

Welcome to the Django Performance Optimization Workshop! 🎉

This repository contains the code used in the workshop presentation, which covers different techniques to optimize the performance of Django REST APIs. These techniques include queryset optimization, database indexing and caching.

Setup 💻

To run this code on your local machine, follow these simple steps:

  1. Make sure you have Docker and Docker Compose installed on your machine.
  2. Clone this repository to your local machine.
git clone https://github.com/Ubiwhere/django-optimization-101
  1. Open your terminal, navigate to the repository folder, and run the following command:
docker-compose up --build -d

This command will set up all the necessary services (Django API, database, Redis for cache), install Django Debug Toolbar, and generate mock data.

Presentation 💬

If you want to follow along with the presentation, you can access it on Canva using this link 👈

API Documentation 📖

The API endpoints are documented using Swagger and can be accessed at http://localhost:8000/api once you start the application.

Let's get optimizing! 🔥 🔥 🔥

License

This code is released under the MIT License. See LICENSE for more information.

Releases

No releases published

Packages

No packages published