What is Middleware?
Code that runs between receiving a request and sending a response, often handling common tasks
Why It Matters
Middleware handles cross-cutting concerns like authentication, logging, or data transformation in one place
Real-World Example
Middleware that checks if a user is logged in before allowing access to certain pages
Learn More at buildDay Melbourne
Want to understand these concepts hands-on? Join our one-day workshop and build a real web application from scratch.
Related Terms
Backend
The behind-the-scenes part of an application that handles data, logic, and communication with databases
Route
A URL pattern that maps to specific code or content in your application
Endpoint
A specific URL where your API receives requests and sends responses
Cron Job
A scheduled task that runs automatically at specific times or intervals
Background Job
A task that runs behind the scenes without making users wait for it to complete
Real-Time
Features that update instantly without needing to refresh the page