- Why do we need a backend?
- Why is backend usually associated with data instead of security, even though security is one of its biggest responsibilities?
- Frontend also handles data, so what makes backend different?
- How does frontend communicate with backend?
- What makes an API “RESTful”?
- What is actually inside a request and response?
- How does the browser know where to send a request?
- Why do we use JSON instead of plain text?
- What is the role of headers? Are they really necessary?
- Can backend work eventually move entirely into the browser in the future? Can browsers ever become secure enough for that?
- Why do we structure endpoints like
/users, /posts, etc.?
- How does a server differentiate between
/login and /signup?
- Can we store user data directly on the server? If yes, then why do we need databases?
- What is “stateless”? Why is HTTP stateless?
- Is there a time limit for the TCP 3-way handshake? If yes, how does it handle packet loss?