Blog

Kostja Palović

Deploy Next.js on AWS EC2 and Digital Ocean

Learn how to create a new Next.js application and deploy it on AWS EC2 instance or Digital Ocean droplet.

Read more →
Kostja Palović

Deploy FastAPI and PostgreSQL on AWS EC2 Tutorial

Learn how to create a FastAPI app with PostgreSQL and deploy it on an AWS EC2 Instance.

Read more →
Kostja Palović

Express.js Application using Handlebars

Read more →
Kostja Palović

How to Deploy Flask on AWS EC2, Hetzner, Digital Ocean

How to create a Flask application with a POST endpoint, create a server on AWS, Digital Ocean and Hetzner and deploy your Flask app.

Read more →
Kostja Palović

How to set up Nginx for a Django project

Step-by-step instructions on setting up an Nginx web server for a Django application on a fresh Ubuntu 20.04 LTS server. Setting up the server environment, creating a Django project, running it with gunicorn, creating a Let's Encrypt certificate, and setting up Nginx as a reverse proxy.

Read more →
Kostja Palović

How to Deploy Wagtail To AWS EC2 and Digital Ocean

Step-by-step tutorial on how to create a Wagtail project and deploy it on AWS EC2 and Digital Ocean Droplet.

Read more →
Kostja Palović

Adding Elastic IP to your AWS EC2 instance

Read more →
Kostja Palović

Django File uploads to S3 and Cloudfront CDN

How to create AWS S3 bucket, setup CloudFront CDN and setup Django 4.2 to upload files to S3

Read more →
Kostja Palović

Heroku alternative for Django

Looking for an alternative to Heroku for hosting Django apps? With Appliku's affordable pricing starting at $10/mo and Hetzner's competitive rates, you can save up to $1476/year while enjoying a powerful and customizable infrastructure that scales with your needs.

Read more →
Kostja Palović

Upgrade Ubuntu 18.04 LTS to Ubuntu 20.04 LTS

A simple guide upgrading Ubuntu 18.04 LTS to Ubuntu 20.04 LTS

Read more →
Kostja Palović

How to create S3 bucket with write only access

How to create a bucket and generate credentials that only have write access to a single bucket.

Read more →
Kostja Palović

Django REST Framework Swagger OpenAPI Tutorial

Why use OpenAPI and how to add it to a Django REST API project. Differences between Swagger and OpenAPI, and the benefits of using OpenAPI. Instructions on installing and setting up drf-spectacular, a package that generates OpenAPI documentation. How to. access the OpenAPI Swagger and redoc interfaces.

Read more →
Kostja Palović

Building a restful api with Django REST framework tutorial

This tutorial explains what RESTful API is and why it's used, followed by a step-by-step guide on how to build a REST API using Django. It covers creating a new Django project, defining models for a TODO app, using REST framework serializers and CRUD views, setting up a Django REST framework router and URLs, and testing the API.

Read more →
Kostja Palović

Celery Task Priority

This article covers how to prioritise tasks processing depending on user tier. The described approach uses Celery as an example, but can be replicated with any other background task processing tooling.

Read more →
Kostja Palović

Best frontend framework for Django

The best frontend framework to use with Django, including options such as jQuery, AlpineJS, React, and NextJS. Pros and cons of each framework and recommendations on how to deploy them separately when scaling the team or project.

Read more →
Crew

Web Server for Django

Web servers for Django application. Comparing popular Nginx server and newer, but promising Caddy server. Discussing pros and cons. In addition, examples of virtual host configuration for both Caddy and Nginx.

Read more →
Kostja Palović

Comparing Django vs Express.js

Django and Express.js are both popular frameworks for building web applications, with different strengths and weaknesses. Django is great for complex web apps with advanced features, while Express.js is best for real-time applications.

Read more →
Kostja Palović

Rate Limiting Celery Tasks

How to rate limit execution of Celery tasks in a reliable way. Throttle calls to 3rd party API via Celery Tasks.

Read more →