1 - Web Services
If we were building a banking application, we would need to write code that would access our database and access our secure server.
This is what web services allow a client (frontend) to accomplish in a secure fashion.
Examples of Web Services could be:
a web service to register users
a web service to log in users
a web service to create accounts
a web service to transfer funds
You can compare this to a fast food restaurant
The customer would be the web browser or the frontend/client
The fast-food worker would be the web server, or the backend/server
And the menu would be the web services
By creating a menu, the restaurant is saying, “This is what we sell, so order from here"
So a customer would request what they want from the menu, and how the fast-food restaurant makes the order is their business and not yours