Mohammed Shakeelmaster-webdevelopment.hashnode.dev·Dec 19, 2024User Authentication Level 1Introduction In this blog, we will explore a simple user authentication system built using Node.js, Express, and PostgreSQL. This example demonstrates how to handle user registration and login functionality by interacting with a database. The Code Br...Node.js
Mohammed Shakeelmaster-webdevelopment.hashnode.dev·Dec 19, 2024User Authentication Level 3Introduction In modern web applications, user authentication is a critical feature to ensure secure access control. Passport.js, a popular Node.js middleware, simplifies user authentication by providing robust and flexible strategies. This blog delve...authentication
Panth Patelhow-is-my-backend.whiteloves.in·Dec 11, 2024A Guide to Node.js Generic Routing Systemhttps://jsr.io/@panth977/routes gives you a cool design system to set up your routes, with support for Middleware, HTTP (req, single res), and SSE. But keep in mind, this package isn't meant to serve your routes! For that, you'll need https://jsr.io/...http
Muchael123express-roject-setup.hashnode.dev·Dec 4, 2024Api Setup ( Nodejs)/my-express-api ├── /controllers ├── /middleware ├── /models ├── /routes ├── /services ├── /utils ├── /tests ├── /config ├── /node_modules ├── .env ├── .gitignore ├── app.js (or server.js) ├── package.json └── README.md /controllers - Contains the lo...Express.js
Rigal Patelmastering-javascript-decorators.hashnode.dev·Nov 30, 2024How to Set Up Sessions and Authentication in Express.js Fast and EasyIn Express.js, session management and authentication form the backbone of modern web applications. They ensure users stay logged in across multiple requests and their identity is securely verified. This blog dives deep into how to implement and optim...JavaScript
Abdul Rahman Moinrefresh-token-vs-access-token.hashnode.dev·Nov 29, 2024Refresh Token vs Access TokenWhat is an Access Token? An access token, typically JWT, is an encrypted thing that saves the time of the user and the server cost the website owner. But what actually is it? It is an encrypted token or string that is equal (when it got decrypted) to...refresh-token
Rigal Patelmastering-javascript-decorators.hashnode.dev·Nov 29, 2024Mastering Advanced Error Handling in Express.js for Robust Node.js ApplicationsError handling is a critical aspect of developing robust Express.js applications. Whether it’s catching unhandled exceptions, validating user input, or gracefully managing third-party API failures, a well-thought-out error-handling strategy can save ...Express.js
Rigal Patelmastering-javascript-decorators.hashnode.dev·Nov 28, 2024How to Build Scalable Middleware with Express.jsMiddleware is the backbone of any Express.js application. It enables developers to handle requests, manipulate data, and implement reusable logic efficiently. In this blog, I'll walk you through how to design scalable middleware with Express.js, focu...Express.js
Rigal Patelmastering-javascript-decorators.hashnode.dev·Nov 27, 2024Top 5 Ways to Secure Your Express.js APIsAPIs are the backbone of modern web applications, and Express.js, being one of the most popular Node.js frameworks, makes building APIs simple and efficient. But simplicity doesn’t mean we can skip security. Every unsecured API endpoint is a potentia...Express.js
kelvinbzkelvinbz.hashnode.dev·Nov 23, 2024MERN - ExpressJS FundamentalsFundamentals Express.js is a popular web application framework for Node.js that simplifies building web applications and APIs. Middleware: Functions that access the request and response objects to modify, add data, or trigger other functions. Route...Express.js