Eduardo Zepeda's latests posts
How to create a command in django?
- django
<p>You have used Django before, haven't you? So, you already used some Django command, it could have been makemigrations, migrate, startproject, startapp or some other. But have you ever created any? Maybe you haven't. Read on to learn how.</p><h2 id="how-to-crea...
Read more
My Digital Ocean review, analysis and my experience as a user
- software architecture
- opinion
<p>I've been using Digital Ocean for my personal projects for several years, so Let me tell how it has been so far and what can of services you can find there.</p><h2 id="droplets-in-digital-ocean">Droplets in Digital Ocean</h2><p>Droplets are my favorite resource...
Read more
How to scale a Django app to serve one million users?
- software architecture
- django
<p>Wish your Django app could handle a million hits? This post is a compilation of articles, books, and videos I've read on how to take a Django application to its maximum capabilities, I've even implemented some of these recommendations myself.</p><p>It's ...
Read more
Javascript vs Python which one is better for you?
- javascript
- python
<p>If you've used only Python or only Javascript, you're probably a little curious to know what the other one looks like. I've used both and I can tell you a bit about the differences and some things in common that both languages have, so you can find the best o...
Read more
How to create a history of products with django and redis?
- django
<p>You are browsing an ecommerce site, a product catches your attention and you click to see it, but you are not convinced. You decide to see other options, click on a new product and, when you scroll to the bottom of the page, the page shows you the first product you saw under t...
Read more
Django Annotate and aggregate explained
- django
- databases
<p>The computer screen illuminated my face full of despair, I rubbed my head in despair, while I googled: “Django annotate”; one of the ORM functions that I could not understand. Did it happen to you too, I bet it did. I had already read the documentation but it didn&...
Read more
Nginx keepalive, gzip, http2: better performance on your website
- linux
<p>Some months ago I was reviewing the Lighthouse settings for a website when I realized that it did not comply with certain recommendations, it was using http/1.1, no gzip compression, no cache. Later I fixed the problems, I'll tell you how below. In this post I talk about...
Read more
FastAPI tutorial, the best Python framework?
- docker
- fastapi
<p>These last few days I have been testing a Python library that is becoming famous, FastAPI, a framework for creating APIs, such as <a class="markdown-link" href="https://coffeebytes.dev/en/software-architecture/basic-characteristics-of-an-api-rest-api/">REST APIs</a>&...
Read more
Cookiecutter-django for configuring and deploying in Django
- django
- docker
<p>I wrote the previous entries as an introduction for this week's topic. In this post I'm going to explain about a cool tool for Django called cookiecutter-django. This tool for django allows you to generate projects that integrate docker, celery, mailhog, aws, gcp, ...
Read more