Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 745 Bytes

File metadata and controls

31 lines (22 loc) · 745 Bytes

🏠 Mini Hostel API (No Express)

A small RESTful API built with Node.js core http module — no frameworks used!


🧠 Concepts Practiced

  • HTTP methods (GET, POST, PUT, DELETE)
  • REST API principles
  • Manual request/response handling

⚙️ Endpoints

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

💡 What I Learned

  • How REST works under the hood
  • Handling JSON manually using the http module

Week 4: Pure backend logic — no frameworks, no shortcuts 🔥