A small RESTful API built with Node.js core http module — no frameworks used!
- HTTP methods (GET, POST, PUT, DELETE)
- REST API principles
- Manual request/response handling
| Method | Route | Description |
|---|---|---|
| GET | /students | Get all students |
| GET | /students/:room | Get student by room |
| POST | /students | Add a student |
| PUT | /students/:room | Update student info |
| DELETE | /students/:room | Remove student |
- How REST works under the hood
- Handling JSON manually using the
httpmodule
Week 4: Pure backend logic — no frameworks, no shortcuts 🔥