full-stack
What is full stack application?
A application that has:
frontend (client) : handles UI
backend (server) : business logic, and interactions with external systems such as databases
How do they interact?

What is middleware?

When frontend send requests to backend , there can be middleware can intercept the API request (eg. various tasks such as authentication, authorization, logging, data transformation)
Backend

Example of env file storing db configs and others
Frontend

Frontend API endpoints should be different in production vs development

Last updated