π Day 28 - Restarting My Full-Stack Journey
Today was another exciting backend day as I moved beyond theory and started understanding how web servers, Express.js, TypeScript tooling, and backend project workflows work together.
I also built my first basic backend Todo CRUD application to put these concepts into practice.
π What I learned today:
β
Understanding Web Servers
* How clients and servers communicate
* Ports and server processes
* Why servers continuously listen for incoming requests
β
Node.js HTTP Module
* Creating a basic web server using the built-in `http` module
* Understanding:
* Request (`req`)
* Response (`res`)
* Handling different routes and HTTP methods manually
β
Dependency Management
* Understanding:
* `node_modules`
* Dependency trees
* `package-lock.json`
* Why dependency locking is important for consistent environments
β
Introduction to Express.js
* Creating APIs with Express
* Routing using:
* `app.get()`
* `
app.post()`
* Parsing JSON using:
* `express.json()`
β
TypeScript Project Setup
* `tsconfig.json`
* `rootDir`
* `outDir`
* Compiling TypeScript into JavaScript
β
Development Workflow Improvements
* Local TypeScript installation
* `tsc-watch`
* Auto compilation and server restart during development
β
Type Definitions
* Understanding `
@types/*`
* Installing:
* `@types/node`
* Express type definitions
* Better IntelliSense and type safety
β
Runtime Validation
* Introduction to Zod
* Understanding why TypeScript alone is not enough for validating external inputs
π οΈ Practical Work
Built a basic Todo CRUD API using:
* Node.js
* Express.js
* TypeScript
Implemented:
β
Create Todo
β
Read Todos
β
Update Todo
β
Delete Todo
This was my first step toward building real backend applications.
π‘ Biggest takeaway:
Frontend taught me how users interact with applications.
Backend is teaching me how applications actually process requests, manage data, and communicate with clients behind the scenes.
Building my first CRUD API made the client-server relationship much clearer and made backend development feel far less intimidating.
Excited to keep moving deeper into Node.js, Express, APIs, validation, and databases π
#100DaysOfCode #FullStackDevelopment #BackendDevelopment #NodeJS #ExpressJS #TypeScript #WebDevelopment #LearningInPublic #ChaiCode #DaysCount #DAY1 #DAY28 #trendingsongs #100daysofadam
@Hiteshdotcom @piyushgarg_dev @nirudhuuu @surajtwt_ @yntpdotme