⚙️

Backend

APIs, databases, servers, and system design

20 articles
⚙️ Backend

Deploying Spring Boot to a VPS with Apache

From localhost to the real internet. Learn to deploy your Spring Boot API to a VPS, configure Apache as a reverse proxy, manage .htaccess for routing, set up SSL with Let's Encrypt, and keep your app running with systemd. The deployment journey nobody warns you about.

javaspring-bootdeployment +7
Read more
⚙️ Backend

Going Production: Spring Boot Best Practices

From localhost to production. Error handling, logging, environment configs, API documentation, health checks, and the lessons learned from deploying my first Spring Boot API. Everything I wish I knew before going live.

javaspring-bootproduction +6
Read more
⚙️ Backend

JWT Authentication: Securing the API

From 'anyone can delete anything' to proper security. Learn to implement JWT authentication in Spring Boot with Spring Security, protect your endpoints, handle login/logout, and make your React app work with tokens.

javaspring-bootjwt +6
Read more
⚙️ Backend

MyBatis: Finally Talking to a Database

Goodbye in-memory ArrayList, hello real database. Learn to connect Spring Boot to MySQL using MyBatis, write SQL mappers, handle transactions, and stop losing data every time you restart the server.

javaspring-bootmybatis +6
Read more
⚙️ Backend

Building a Real CRUD API with Spring Boot

From Hello World to a full CRUD API. Learn to handle POST, PUT, DELETE requests, parse JSON bodies, validate input, and structure your Spring Boot application with controllers, services, and repositories. A practical guide for frontend developers.

javaspring-bootrest-api +5
Read more
⚙️ Backend

Spring Boot: My First API

A frontend developer's journey into backend development with Java and Spring Boot. From npm install to Maven dependencies, from JavaScript objects to Java classes. How I built my first REST API to power my React projects.

javaspring-bootrest-api +5
Read more
⚙️ Backend

Laravel: A Full-Stack Framework Reflection

After months with Laravel 5.6, I had built complete applications — Blade UIs, REST APIs, email, SMS, background jobs. A reflection on what Laravel taught me about web development, and why it prepared me for everything that came after.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel Task Scheduling: Cron Jobs Made Beautiful

Sending daily reports, cleaning up old files, expiring unused tokens — all the recurring tasks your app needs. Learn Laravel's scheduler, which turns ugly cron syntax into expressive PHP methods.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel Queues: Stop Making Users Wait

Sending emails, processing uploads, generating reports — all things that slow down your app. Learn to use Laravel queues, create jobs, handle failures, and make your application feel instant while heavy work happens in the background.

phplaravellaravel-5.6 +6
Read more
⚙️ Backend

Laravel Caching: Making Your App Fly

Database queries are expensive. API calls are slow. Learn to cache the expensive stuff — with Redis, Memcached, or just files. Cache tags, cache invalidation, and the patterns that made my Laravel apps actually fast.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel API: Blade Meets JSON

My app had beautiful Blade templates. But mobile developers needed JSON, not HTML. Learn to build REST APIs in Laravel alongside your web routes, handle API authentication, transform responses, and serve both worlds from one codebase.

phplaravellaravel-5.6 +6
Read more
⚙️ Backend

Laravel File Storage: Local, S3, and Beyond

Handling file uploads the right way. Learn Laravel's filesystem abstraction — store files locally in development, S3 in production, switch with one config change. No more hardcoded paths and manual file management.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel SMS: When Email Isn't Urgent Enough

Some notifications can't wait for users to check their inbox. Learn to integrate SMS into Laravel with Nexmo/Vonage and Twilio, handle delivery status, manage costs, and decide when SMS is actually worth it.

phplaravellaravel-5.6 +6
Read more
⚙️ Backend

Migrations & Seeding: Version Control for Your Database

No more 'run this SQL file I emailed you.' Migrations track database changes in code. Seeders fill your database with test data. Together, they make database management sane and shareable.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel Facades: The Magic Behind the Static Calls

Cache::get(), Mail::send(), Auth::user() — they look like static methods, but they're not. Understanding facades and the service container unlocked how Laravel actually works under the hood.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel Events: Decoupling Your Code

My controllers were doing too much. Create order, send email, update inventory, notify warehouse, log analytics — all in one method. Events and listeners taught me to decouple, and suddenly everything was cleaner.

phplaravellaravel-5.6 +6
Read more
⚙️ Backend

Laravel Mail & Notifications: Beyond echo 'Email sent'

My PHP mail() days were over. Laravel's Mailable classes, notification system, and queue workers transformed how I thought about user communication. Beautiful emails, multiple channels, all from one notification class.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel Authentication: It's Already Built

After weeks of building login systems from scratch, I discovered Laravel's built-in authentication. One command, and I had registration, login, password reset, and middleware protection. The day I stopped reinventing the wheel.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Eloquent Relationships: Making Models Talk

Users have posts. Posts have comments. Orders have products. Learn to define and query relationships in Eloquent — hasMany, belongsTo, many-to-many, and the magical eager loading that saves you from the N+1 problem.

phplaravellaravel-5.6 +5
Read more
⚙️ Backend

Laravel: My First Real Framework

Before React, before Spring Boot, there was Laravel. How I went from writing spaghetti PHP to understanding MVC architecture, Blade templates, and why frameworks exist. A journey back to early 2019 when everything clicked.

phplaravellaravel-5.6 +5
Read more
Saurav.dev

© 2026 Saurav Sitaula.AstroNeoBrutalism