npm init -y
npm install -D postcss postcss-cli autoprefixer cssnano cssnano-preset-advanced
| "use strict"; | |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| hyperBorder: { | |
| // borderColors: ["random", "random"], | |
| borderColors: ["#fc1da7", "#fba506"], | |
| borderWidth: "8px", |
for nextjs:
{
"include": ["**/*"],
"exclude": ["node_modules", "**/node_modules", "dist", "build", ".next"],
"compilerOptions": {
"paths": {
"@/*": ["./*"]
},"use client";
import { cn } from "@/utils";
import { Eye, EyeOff } from "lucide-react";
import { useState } from "react";
import type { UseFormRegisterReturn } from "react-hook-form";
interface InputForPasswordProps extends React.ComponentProps<"div"> {html
<div class="skeleton-loader"></div>CSS
A lightweight authentication session management system for Next.js applications using JWT tokens and HTTP-only cookies.
This module provides a complete session management solution that handles user authentication through encrypted JWT tokens stored in secure HTTP-only cookies. It's designed for Next.js applications and includes functions for login, logout, session retrieval, and automatic session refresh.
/*
File: contexts/AuthContext.tsx
Description: React context for authentication using JWT stored in HTTP-only cookies.
*/
import React, { createContext, useContext, useState, useEffect, ReactNode } from 'react';
// --- Types ---
export interface User {A concise, practical reference for using @asteasolutions/zod-to-openapi to:
This file is meant to be used as a quick reference or instruction set for Copilot / Cursor / Kiro assistants. Keep schemas central, descriptive, and versioned.