Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by NotFound Exception
Leveraging Mock Service Workers for NestJS e2e tests
In the previous article, we discussed how almost any modern web application has to communicate with external systems. It's also safe to assume most of that communication is made via HTTP calls. In today's post, we'll learn how to: Intercept and stub HTTP calls in NodeJS using Mock Service Workers and NestJS as the framework - No interfaces are needed this time. Create reusable API stubs for any e2e test. Simulate network errors.
Building a REST API with NestJS 2025
In this tutorial, I will show you how to develop a REST API using NestJS.
Nestjs, Firebase, GCloud. How to Quickly Set Up an API Backend in TypeScript.
It's great that you decided to open this article. My name is Fedor, and I've been a full-stack developer on a permanent basis since the end of 2021. Just in case, here is my github profile.
How to Add JWT-Based Authentication in NestJS
Authentication is a very important aspect of software development. It is the process of verifying a user’s identity. Authentication ensures that only authorized individuals access specific resources or perform certain actions within a system. It provides accountability by enabling the tracking of user actions and holding individuals responsible for their activities. It also gives companies data on the number of people using their products.
Getting Started with NestJs: CRUD Operations
NestJS is a powerful framework for building efficient, scalable Node.js server-side applications. In this beginner-friendly guide, we'll walk through the creation of a simple NestJS project to help you understand its fundamental concepts Prerequisites Before diving into NestJS, ensure you have Node.js and npm (Node Package Manager) installed on your system. You can download and install them from the official Node.js website. Setting Up Your NestJS Project First, let's create a new NestJS project.
Fastjson反序列化分析 - F12~ - 博客园
先研究1.2.24版本的,版本高了就有waf了,不过也能绕,高版本以后再说 <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.24</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.46</version> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.29.1-GA</version> </dependency> TemplatesImpl链 老样子定义恶意类,然后打TemplatesImpl的defineClass package org.example; import...
How to Create a REST API with NestJS
Using Typescript, Postgres, TypeORM and Docker If you’re curious or want to learn how NestJS works, then in this tutorial I’ll go step-by-step through the fundamental aspects of Nest and help you take the first step. We are going to develop a REST API project with CRUD operations in Typescript using PostgreSQL, TypeORM and Docker. Before we begin, we need to know what NestJS is. Nest (NestJS) is a framework for building efficient, scalable Node.js server-side apps in JavaScript and Typescript.
Cómo construir una API REST Nest.js segura usando JWT y MongoDB
Express.js es una excelente tecnología para crear API REST seguras y sólidas; sin embargo, no proporciona una estructura predefinida. Su naturaleza minimalista le permite manejar aspectos esenciales como el enrutamiento, la organización del código y las medidas de seguridad, ya sea manualmente o aprovechando el middleware y las bibliotecas disponibles.
How to Build a Secure Nest.js REST API Using JWT and MongoDB Original
Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More. Express.js is a great technology for building secure and robust REST APIs, however, it doesn't provide a predefined structure. Its minimalistic nature allows you to handle essential aspects like routing, code organization, and security measures either manually or by leveraging available middleware and libraries.
How to Build a Nest.js CRUD REST API Using TypeORM and PostgreSQL
Like other Node.js frameworks, Nest.js provides a comprehensive toolkit for building robust and scalable backend services. Nonetheless, it is important to understand how to implement the create, read, update, and delete (CRUD) operations in Nest.js efficiently—these are the most fundamental operations in the development of APIs. Learn how to build a Nest.js CRUD REST API using TypeORM and a PostgreSQL database.
shiro 721 反序列化漏洞复现与原理以及Padding Oracle Attack攻击加解密原理
1.1 shiro550利用条件 知道aes加密的key且目标服务器含有可利用的攻击链。 原理 在Shiro <= 1.2.4中,反序列化过程中所用到的AES加密的key是硬编码在源码中,当用户勾选RememberMe并登录成功,Shiro会将用户的cookie值序列化,AES加密,接着base64编码后存储在cookie的rememberMe字段中. 服务端收到登录请求后,会对cookie的rememberMe字段的值进行base64解码,接着进行AES解密,然后反序列化。由于AES加密是对称式加密(key既能加密数据也能解密数据),所以当攻击者知道了AES key后,就能够构造恶意的rememberMe cookie值从而触发反序列化漏洞。 影响版本:1.2.4以下 解决payload过长的方式: 使用urlclassloader加载远程字节码 将字节码放在post的body中,恶意类实现加载body中的字节码即可.
The Ultimate Guide To Custom Role Based Access Without Third Party Libraries
Here, we have four roles: Sme, Sponsor, Admin, Operations.Initially, we had only 3 roles.Operations role was added later and Operations user has permissions similar to the Admin user.In the code, we had to replace every instance of if (user.type == USER_TYPES.ADMIN) with if (user.type == USER_TYPES.ADMIN || user.type == USER_TYPES.OPERATIONS).As this is time consuming and we can also miss many instances, we have created a roles module.
One-Time Password Generation Using speakeasy, Nest.js And MongoDB
Here, we have designed and developed a flow for OTP(One time password) for user registration and also blocking a user's account after the maximum retries for incorrect otp is exceeded. We will go in steps for generation, verification and blocking a user's account.
Introducing NoSQL Azure Table Storage for NestJS 🚀
Originally published on the Trilon Blog on September 17, 2019. In this article, we'll be looking at how to add Azure Table Storage to our NestJS applications in only a few minutes with the new @nestjs/azure-database library! In case you're not familiar with NestJS, it is a TypeScript Node.js framework that helps you build enterprise-grade efficient and scalable Node.js applications. Azure Table Storage is a NoSQL key-value store using massive semi-structured datasets.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with NotFound
Contact NotFound, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack