nextjs cookie manangement

Next.js Cookie Management

app routerserver actionstypescriptcookiesmiddlewarenext.js
11/09/2024
This article offers a beginner friendly guide for those who have no experience with backend development or Next.js. We explore what cookies are and how to manage them securely. By explaining the structure and features of Next.js, we walk through how to use server actions and the cookies() method from the next/headers, as well as how to capture cookies with Middleware.
next.js session manangement

Next.js Session Manangement

authroute-handlerstypescriptzodJWTmiddlewareapinext.js
12/10/2024
In this article, we explore how to manage sessions using effective and modern technologies, aimed at those with basic React knowledge, who are new to Next.js technologies, or who lack backend experience. We cover important points on Route Handlers and JWT, examining the implementation of Authentication, Authorization, middleware, and opportunistic validation approaches, as well as how to handle potential issues.