---
title: "#chaicohort articles | Hashnode"
description: "Explore 5,441 articles tagged #chaicohort on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/chaicohort"
---

Tag

# #chaicohort

5,441 posts · 15 followers

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Oct 9](https://hashnode.com/posts/jwt-authentication-in-node-js-explained-simply/6ac87a2448971d2a38f549f1)

### [JWT Authentication in Node.js Explained Simply](https://sahilxdev.hashnode.dev/jwt-authentication-in-node-js-explained-simply?utm_source=hashnode&utm_medium=feed)

Learn what JWT is, how its header, payload and signature work, and how to protect Express routes with tokens, step by step.

8 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/jwt-authentication-in-node-js-explained-simply?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/jwt-authentication-in-node-js-explained-simply/6ac87a2448971d2a38f549f1)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Oct 8](https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-authentication/6ac721e0af3d0997426738f3)

### [Sessions vs JWT vs Cookies: How Does a Server Remember You?](https://sahilxdev.hashnode.dev/sessions-vs-jwt-vs-cookies-authentication?utm_source=hashnode&utm_medium=feed)

Learn what sessions, cookies, and JWT tokens are, how stateful and stateless auth differ, and when to pick each one in Node.js.

8 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/sessions-vs-jwt-vs-cookies-authentication?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Oct 7](https://hashnode.com/posts/store-and-serve-uploaded-files-express/6ac5d8c8f23ebad5738cedae)

### [Where Do Uploaded Files Go? Storing and Serving Them in Express](https://sahilxdev.hashnode.dev/store-and-serve-uploaded-files-express?utm_source=hashnode&utm_medium=feed)

Learn where uploaded files live, how express.static serves them through a URL and the safety rules every beginner should follow when handling uploads.

6 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/store-and-serve-uploaded-files-express?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Oct 6](https://hashnode.com/posts/file-uploads-express-multer/6ac45858aea9c323d1f5188b)

### [Handling File Uploads in Express with Multer](https://sahilxdev.hashnode.dev/file-uploads-express-multer?utm_source=hashnode&utm_medium=feed)

Learn how Multer handles single and multiple file uploads in Express, sets up disk storage, and serves uploaded files, with a simple analogy.

7 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/file-uploads-express-multer?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Oct 5](https://hashnode.com/posts/rest-api-design-express/6ac307464ea36046bb0668d0)

### [REST API Design Made Simple with Express.js](https://sahilxdev.hashnode.dev/rest-api-design-express?utm_source=hashnode&utm_medium=feed)

Learn REST API basics in Express.js: resources, GET, POST, PUT, DELETE, status codes and clean route design using a simple users example.

7 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/rest-api-design-express?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Oct 2](https://hashnode.com/posts/express-middleware-explained/6abf43461a2cf55836f2d808)

### [What is Middleware in Express and How Does It Work?](https://sahilxdev.hashnode.dev/express-middleware-explained?utm_source=hashnode&utm_medium=feed)

Learn what middleware is in Express, how requests flow through it, and how next() works, with simple logging, auth and validation examples.

7 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/express-middleware-explained?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Oct 1](https://hashnode.com/posts/url-params-vs-query-strings-express/6abdf2cfb59bcfc30cd350f4)

### [URL Params vs Query Strings in Express.js: Which One Should You Use?](https://sahilxdev.hashnode.dev/url-params-vs-query-strings-express?utm_source=hashnode&utm_medium=feed)

Learn the difference between req.params and req.query in Express.js with simple examples, curl tests, and clear rules for when to use each.

7 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/url-params-vs-query-strings-express?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Sep 26](https://hashnode.com/posts/express-routing-get-post-requests/6ab74a0e8b5c0722470d2218)

### [Why Does Everyone Use Express Instead of Plain Node.js?](https://sahilxdev.hashnode.dev/express-routing-get-post-requests?utm_source=hashnode&utm_medium=feed)

Learn what Express.js actually does, how it simplifies raw Node.js, and how to handle GET and POST requests with clear routing examples.

7 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/express-routing-get-post-requests?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Sep 23](https://hashnode.com/posts/how-nodejs-handles-multiple-requests-single-thread/6ab3448430c4ce4009603969)

### [How Does Node.js Handle Multiple Requests With Just One Thread?](https://sahilxdev.hashnode.dev/how-nodejs-handles-multiple-requests-single-thread?utm_source=hashnode&utm_medium=feed)

Node.js runs your code on one thread yet serves thousands of users at once. Here's exactly how, with a chef-in-a-kitchen analogy and diagrams.

6 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/how-nodejs-handles-multiple-requests-single-thread?utm_source=hashnode&utm_medium=feed)

[Sahil Gupta](https://hashnode.com/@sahilgupta2175) · [Sep 22](https://hashnode.com/posts/blocking-vs-non-blocking-code-in-nodejs/6ab1dec91de31653f186025b)

### [Blocking vs Non-Blocking Code in Node.js: What Every Beginner Gets Wrong](https://sahilxdev.hashnode.dev/blocking-vs-non-blocking-code-in-nodejs?utm_source=hashnode&utm_medium=feed)

Learn what blocking and non-blocking code mean in Node.js, why blocking freezes your whole server, and how async operations fix it with real examples.

6 min read · [sahilxdev.hashnode.dev](https://sahilxdev.hashnode.dev/blocking-vs-non-blocking-code-in-nodejs?utm_source=hashnode&utm_medium=feed)
