Tattvam ๐
@ttvmcodes
Followers
320
Following
7K
Media
107
Statuses
396
love to code, cse @ ximu, barca fan... #100DaysOfCode
Bengaluru, India
Joined April 2024
Hey folks! ๐๐ป If you're into tech, science, coding, football, Cricket, brewing your own coffee, vibing with nature, or battling it out in online games - Say hi โ letโs vibe & connect! ๐โฝโ๐ฟ๐ฎ #LetsConnect #Coding #TechTrends #Football #AI #Python #DevLife #cricket
2
2
14
๐ Day 94: Node.js Clustering ๐ Used cluster module โ
Utilizes multi-core CPUs โ
Forks worker processes โ
Improves app performance ๐ Scale Node apps the right way! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
0
0
7
๐ Day 93: Child Processes in Node โ๏ธ Ran commands using child_process ๐ ๏ธ exec, spawn, fork โ
Useful for heavy computation or scripts ๐ก Scale and multitask with ease! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
0
0
6
๐ Day 92: Using Environment Variables ๐งช Stored secrets in .env file โ
Used dotenv package โ
Secured API keys & DB URIs ๐ก Donโt expose sensitive data! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
3
0
13
๐ Day 91: Intro to Authentication ๐ Authentication vs Authorization ๐ ๏ธ Added JWT for user login ๐ก๏ธ Protecting routes with middleware ๐ก Security starts here! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
3
0
9
๐ Day 90: MongoDB is a NoSQL database, and with Mongoose, working with it in Node becomes super easy and structured! ๐ก Why? ๐ฆ NoSQL = Flexible, schema-less storage ๐ Mongoose = Object mapping with built-in validation ๐ Ideal for dynamic, fast-changing data in modern apps
0
0
3
๐ Day 90: Working with MongoDB ๐๏ธ Connected Node to MongoDB! โ
Used Mongoose โ
Created schema & model โ
Inserted documents ๐ก NoSQL + Node = Dynamic Data! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
3
1
7
๐ Day 89: A RESTful API lets your frontend and backend talk using HTTP methods (GET, POST, PUT, DELETE) and JSON. ๐ก Why RESTful APIs? ๐ Connect frontend to backend ๐ค Communicate using JSON โ
Use proper HTTP status codes (200, 201, 404, etc.) ๐งฑ Base for modern web apps
0
0
2
๐ Day 89: RESTful APIs with Express ๐ Built a simple REST API! -GET, POST, PUT, DELETE -Routes & JSON responses -Status codes ๐ก Connects frontend to backend! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
1
0
4
๐ Day 88: Express.js is a minimal, fast, and flexible Node.js framework that simplifies server creation and routing.๐ ๐ก Why Use Express? โ
Faster than raw Node HTTP server โ
Cleaner routing โ
Built-in middleware support โ
Easy to scale with third-party packages
0
0
1
๐ Day 88: Intro to Express.js ๐ Express = minimal & powerful Node.js framework โ
Easy routing โ
Middleware support โ
Fast development ๐ก A must-know for backend devs! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
1
0
3
๐ Day 87: Middleware runs between a request (req) and a response (res). Used for logging, auth, and parsing โ especially in Express.js. ๐ ๏ธ Powered by Express Middleware is a core part of Express. It helps you: ๐ Modify requests โ
Add security ๐งฉ Use tools like morgan, cors
0
0
1
๐ Day 87: Middleware in Node.js ๐งฑ Middleware = functions between req & res โ
Logging โ
Parsing โ
Authentication ๐ ๏ธ Powered up with Express.js! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
1
0
8
๐ Day 86: Routing in Node.js ๐ Routing decides how your server responds to various URL requests. ๐ก Summary: -Manual routing is a good way to learn the basics. -But for real-world apps, Express gives a cleaner and more powerful approach to routing!
0
0
2
๐ Day 86: Routing in Node.js ๐ Added basic routing manually! ๐ฃ๏ธ if/else or switch for URLs ๐ ๏ธ Later moved to Express for cleaner routes ๐ก Routing is the brain of your server! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
3
0
9
๐ Day 85:๐ฅ๏ธ Node.js lets you create a basic web server using the built-in http module โ no external packages needed! ๐กWhy it matters? Creating HTTP servers is a core backend skill. Youโll later build on this with frameworks like Express, but this is the foundation!
0
0
1
๐ Day 85: Creating Servers with HTTP ๐ฅ๏ธ Built a basic HTTP server! โ
Used http.createServer() โ
Handled routes โ
Sent responses ๐ก A core skill for any backend dev! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
2
0
6
๐Day 84: Error handling keeps your app stable and safe. Hereโs how to handle errors like a pro in Node.js! ๐ง Use try-catch for sync code. ๐ง Wrap await calls in try-catch for async errors. ๐ง Create custom error for clearer responses. ๐ง Use Express middleware to catch all errors.
0
1
3
๐ Day 84: Error Handling in Node โ Learned to handle errors like a pro! โ
Try-Catch (sync & async) โ
Custom error classes โ
Middleware for Express ๐ก๏ธ Donโt let bugs break your app! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #JavaScript
1
1
7
Iโm restarting my DSA journey in Java! From today onwards, Iโll be posting daily updates here โ what I studied, which topics I covered, and which problems I solved. Staying consistent and focused this time ๐ป Letโs go!๐ #DSA #Java #100DaysOfCode #CodingJourney
2
1
10