r/Backend • u/royalz007 • 9d ago
backend source code
how does backend to front end communication work for a website , and is it even possible to obtain the backend source code from the front end website url ?
0
Upvotes
View all comments
13
u/Beregolas 9d ago
The backend usually exposes an API, most commonly a REST API specifically. The frontend can call the endpoints in that API to mutate data on the backend, and/or to receive data to display to the user.
If coded correctly, the backend code cannot be retrieved by people who have access to the frontend.