Deploy Smart Contract on Infura (Sepolia) with Hardhat and Solidity

Testing your contract on a local Hardhat network is fine during development. When you’re ready for the real testnet, you need real accounts, real ETH (testnet ETH), and a node provider like Infura to broadcast your transactions. TL;DR: Deploy a Solidity smart contract to Sepolia testnet using Hardhat and Infura.Stack: Hardhat, Solidity, Infura, Sepolia, dotenvLevel: … Read more

Swagger on Django REST

Your Django REST API works, but there is no documentation. Every new developer has to read the source code to understand the endpoints. drf-yasg generates interactive Swagger and ReDoc docs automatically from your views and serializers. TL;DR: Add Swagger and ReDoc interactive documentation to a Django REST Framework API using drf-yasg.Stack: Python, Django, Django REST … Read more

Start/Stop AWS services

Your dev RDS instance and ECS services run 24/7, including weekends when nobody is using them. That is money leaving your account for no reason. A Lambda function on an EventBridge schedule can stop them on Friday night and restart them Monday morning with zero intervention. TL;DR: Use AWS Lambda + EventBridge cron schedules to … Read more

Slack BOT Creation

Your team is already in Slack. Instead of building separate dashboards or notification systems, a Slack bot can deliver alerts, respond to commands, and surface important events right where your team works. TL;DR: Create a Slack bot using the official API, configure permissions, get a token, and send messages programmatically.Stack: Slack API, Slack Bot TokenLevel: … Read more

Application Load Balancer + ECS Service with certificate

Running an ECS service without HTTPS is a security gap and a user experience issue. Adding an ALB with an ACM certificate gives you HTTPS termination, and ECS registers task IPs directly with the target group. TL;DR: Configure an Application Load Balancer with an ACM TLS certificate to expose an ECS service over HTTPS.Stack: AWS … Read more

Pipeline github + ECS

Deploying to ECS by hand is fine once. After that, you need a pipeline. AWS CodePipeline with GitHub source and CodeBuild handles the full cycle: source change, build Docker image, push to ECR, deploy to ECS. TL;DR: Set up a CI/CD pipeline for ECS using AWS CodePipeline with GitHub and CodeBuild.Stack: AWS CodePipeline, CodeBuild, ECS, … Read more

Django login

Django includes a complete authentication system: user models, sessions, login/logout views, and password hashing. You get it all without installing anything extra. TL;DR: Implement user authentication in Django using the built-in auth system and JWT tokens for DRF.Stack: Python, Django, djangorestframework-jwtLevel: BeginnerReading time: ~7 min Install Configure JWT in settings.py Add login route to urls.py … Read more