ServerCNbeta
  • Docs
  • Components
  • Foundations
  • Blueprints
  • Schemas

Command Palette

Search for a command to run...

Getting Started

  • Installation
  • Introduction

Foundations

  • Basic Express Server
  • Drizzle MySQL Starter
  • Drizzle PostgreSQL Starter
  • Mongoose Starter
  • Prisma MongoDB Starter
  • Prisma PostgreSQL Starter

Components

  • API Error Handler
  • API Response Formatter
  • Async Request Handler
  • Auth Verification Middleware
  • Email Service
  • File Upload
  • Generate OTP/Token Utils
  • GitHub OAuth
  • Global Error Handler
  • Google OAuth
  • Graceful Shutdown Handler
  • Health Check
  • HTTP Status Codes
  • JWT Utils Function
  • Not Found Handler
  • Password Hashing
  • Rate Limiter
  • Request Validator(Zod)
  • Role Based Access Control
  • Security Headers
  • SMS Service
  • Structured Logger
  • Validate ObjectId Middleware

Blueprints

  • Basic REST API
  • Session Authentication

Schemas

  • Auth Domain
    • otp Schema
    • refresh token Schema
    • session Schema
    • user Schema
  • Blog Domain
    • category Schema
    • comment Schema
    • post Schema
    • tag Schema

Auth Otp

Refresh token