By the end of this phase, you should be able to:
- Build a backend without copying tutorials
- Understand HTTP flow clearly
- Store & retrieve data from DB
- Push a real project to GitHub
| Layer | Tool |
|---|---|
| Runtime | Node.js |
| Database | PostgreSQL |
| Tools | Git, Postman, Linux terminal |
- No long YouTube courses
- Build while learning
- Push code DAILY
- Don't skip raw HTTP server
Become comfortable writing JS without thinking.
- Variables (
let,const) - Functions (normal + arrow)
- Arrays & Objects
- Loops
- Error handling (
try/catch)
async/await- Promises
Do NOT just read. Build these:
- File reader — read/write file
- API fetcher — call public API
- Simple logger — write logs to file
- JSON parser tool
phase-1/
├── week-1-js-basics/
├── week-2-async/
If you can:
- Write async code without Google
- Handle errors properly
👉 Move ahead. Otherwise repeat.
Understand how backend ACTUALLY works.
- HTTP request/response
- Methods (
GET,POST) - Headers
- Status codes (basic)
Use Node core — NO Express:
const http = require('http');
http.createServer((req, res) => {
if (req.url === "/") {
res.end("Home");
}
}).listen(3000);Extend it:
- Add routes (
/about,/api) - Return JSON
- Handle POST data
ls,cd,mkdir- File permissions
curlcommands
phase-1/
├── week-3-http-server/
├── week-4-linux/
If you can:
- Explain request flow
- Build a basic server
👉 You're ahead of most students.
Store real data — this is backend core.
Learn:
CREATE TABLEINSERT,SELECTJOININDEX(basic idea)
- Connect Node → PostgreSQL
- Create table:
URLs - Store data
- Fetch data
Learn:
branchmerge- Resolving conflicts
phase-1/
├── week-5-db/
├── week-6-integration/
Features:
- Create short URL
- Redirect to original
- Store in DB
- Track clicks
phase-1/
├── url-shortener/
├── README.md
- What you built
- Tech used
- How to run
- What you learned
| Block | Hours | Focus |
|---|---|---|
| 🖥️ Backend | 2–3 hrs | Build & learn |
| 🧠 DSA | 2 hrs | Problem solving |
| 📐 Aptitude | 1 hr | Practice |