Padding Tutorials
What do you want to build?
Filter
40 tutorials
All tutorials
How to Manage Infrastructure as Code with OpenTofu
You will install OpenTofu 1.13 on Ubuntu 26.04 from a checksum-verified release, describe two resources in code, create them with a saved plan, change and repair them, and then destroy everything, all without a cloud account.
Intermediate · 16 min · Cloud and deployment
How to Host a Static Website on AWS S3 with CloudFront
You will store a static site in a private S3 bucket, put CloudFront in front of it with origin access control so that only CloudFront can read the files, serve it over HTTPS, and then delete the distribution, the bucket and the access control in the right order.
Intermediate · 20 min · Cloud and deployment
How to Deploy a Container to Google Cloud Run
You will package a small Node.js 26 web service with a Dockerfile, deploy it to Google Cloud Run with one gcloud command, cap how far it can scale, roll back to an earlier revision, and delete every resource the deploy created.
Intermediate · 16 min · Cloud and deployment
How to Run Node.js Tests Automatically with GitHub Actions
You will write tests with Node.js's built-in test runner, run them on every push and pull request with a GitHub Actions workflow that caches npm downloads and tries two Node.js versions, and check the workflow file locally before you push it.
Intermediate · 13 min · CI/CD and automation
How to Configure a Server with an Ansible Playbook
You will install Ansible 14 on your own computer, describe a web server's setup in a playbook, apply it over SSH, run it a second time to see that nothing changes, and preview a change with check mode before applying it.
Intermediate · 18 min · CI/CD and automation
How to Take Payments on Your Website with Stripe Checkout
You will add a Buy button to a Node.js 26 and Express 5 site that sends customers to Stripe's hosted Checkout page, using stripe-node 23 and API version 2026-10-28.endive with sandbox keys, and you will fulfil the order from a signed webhook, never from the success page alone.
Intermediate · 28 min · Business tech
How to Set Up SPF, DKIM and DMARC So Your Email Is Not Marked as Spam
You will publish the three DNS records that prove your email is really from your domain, SPF, DKIM and DMARC, check each with dig, stay under SPF's 10-lookup limit, use 2048-bit DKIM keys, and move DMARC safely from p=none to quarantine to reject using its reports.
Intermediate · 22 min · Business tech
How to Move a Website to a New Host Without Downtime
You will move a website to a new server with no visible outage by lowering the DNS TTL first, copying files and the database, testing the new server before anyone is sent to it, cutting over with a DNS change, checking the result, and only then raising the TTL and retiring the old host.
Intermediate · 25 min · Business tech
How to Install WordPress on Ubuntu 26.04 with Nginx and PHP 8.5
You will install WordPress 7.1 on Ubuntu 26.04 with Nginx 1.30, PHP-FPM 8.5 and MySQL 8.4, using WP-CLI so no password goes on a command line, a dedicated PHP user, the official salt keys, hardened file permissions and the risky XML-RPC and uploads-PHP paths closed.
Intermediate · 30 min · Business tech
How to Back Up and Restore a WordPress Site with WP-CLI
You will write a backup script that saves a WordPress 7.1 site's database and wp-content folder to a private folder with WP-CLI 2.12, schedule it with cron, prune old copies, then destroy the demo database and restore it from the backup to prove that the backup works.
Intermediate · 25 min · Business tech
How to Receive and Verify Webhooks Safely in Node.js
You will build an Express 5.3 webhook receiver on Node.js 26 that checks an HMAC-SHA256 signature over the raw request body, compares it in constant time, rejects stale timestamps and duplicate events, and a small sender that proves each rejection works.
Intermediate · 22 min · APIs
How to Rate Limit an API with Nginx
You will put request limits in front of a small API with Nginx 1.30 on Ubuntu 26.04, give the login route a stricter limit than the rest, return a proper 429 response with Retry-After, exempt a trusted address, and watch every limit work with real requests.
Intermediate · 20 min · APIs
How to Add JWT Authentication to a FastAPI API
You will add login to a FastAPI 0.163 API on Python 3.15 with Argon2 password hashes, PyJWT access tokens that expire after 15 minutes, a signing secret kept out of your code, a protected route, and tests that prove expired, tampered and unsigned tokens are refused.
Intermediate · 25 min · APIs
How to Do Vector Similarity Search in PostgreSQL with pgvector
You will install PostgreSQL 18 with the pgvector extension on Ubuntu 26.04, store and compare vectors with SQL, load the chunks from the previous tutorial into a table, and add an HNSW index to make nearest-neighbour search fast.
Intermediate · 22 min · AI and machine learning
How to Get Reliable JSON Output from an LLM
You will make Claude Haiku 5.5 return a support ticket as typed data with Anthropic's structured outputs and a Pydantic model, see the schema the API receives, and handle the three ways a reply can still fail to match.
Intermediate · 20 min · AI and machine learning
How to Build a RAG Question-Answering Endpoint in Python
You will embed your document chunks with Voyage AI, store the vectors in PostgreSQL, and serve a FastAPI endpoint that retrieves the closest chunks and has Claude answer from them with cited sources, and you will make the endpoint fail safely.
Intermediate · 30 min · AI and machine learning