Learn to Code 🔥 https://www.smoljames.com/roadmap
Build a resume ✅ https://www.hyr.sh
In this beginner tutorial, I run through frontend (client-side) to backend (server) communication. We look at all the different ways to send information, such as request params, query & body, as well as how to initialize requests from the frontend, receive them in the backend, and then respond accordingly. To do so, we build a simple application in Node.js.
#frontend #backend #webdev
🔥 All my links
https://www.smoljames.com
📚 Chapters
00:00 Intro
00:07 Init server
04:34 Serve HTML frontend
07:41 GET routes
13:20 POST routes
🔖 Topics Covered
- Send different types of requests from the frontend
- Receiving requests in the backend
- Responding to requests (backend back to frontend)