servercn
  • Docs
  • Components
  • Foundations
  • Blueprints
  • Providers
  • Schemas
  • Contributing
  • Contributors
  • Changelog

Command Palette

Search for a command to run...

servercn
  • Docs
  • Components

    Ready-to-use backend modules.

    Foundations

    Starter project templates.

    Blueprints

    Production-ready feature modules.

    Providers

    Database integrations.

    Schemas

    Databse models & schemas.

  • Contributing

    Help build the future of servercn.

    Contributors

    Meet our amazing contributors.

    Discord

    Join our Discord community.

  • Changelog

Command Palette

Search for a command to run...

Getting Started

  • Installation
  • Introduction
  • JavaScript Guide

Servercn CLI

  • Commands
  • Generators
  • Overview

Foundations

  • Basic Express Starter
  • Drizzle MySQL Starter
  • Drizzle Neon PostgreSQL
  • Drizzle PostgreSQL Starter
  • Hybrid Auth Starter
  • Mongoose Starter
  • Prisma MongoDB Starter
  • Prisma MySQL Starter
  • Stateful Auth Starter
  • Stateless Auth Starter

Components

  • API Error Handler
  • API Response Formatter
  • Async Request Handler
  • Auth Verification Middleware
  • Background Jobs (Cron)
  • Email Service
  • Env Configuration
  • File Upload (Cloudinary)
  • File Upload (ImageKit)
  • GitHub & Google OAuth
  • GitHub OAuth
  • Global Error Handler
  • Google OAuth
  • Graceful Shutdown Handler
  • Health Check Endpoint
  • HTTP Status Codes
  • JWT Utilities
  • Not Found Handler
  • OAuth Component
  • Password Hashing
  • Rate Limiter
  • Request Validator (Zod)
  • Role Based Access Control
  • Security Headers
  • Structured Logger
  • Swagger API Documentation
  • Token & OTP Utilities
  • Validate ObjectId Middleware

Blueprints

  • Banking Application
    • MongoDB (Mongoose)
  • Hybrid Authentication
    • MongoDB (Mongoose)
    • MySQL (Drizzle)
    • PostgreSQL (Drizzle)
  • Stateful Authentication
    • MongoDB (Mongoose)
  • Stateless Authentication
    • MongoDB (Mongoose)
    • MySQL (Drizzle)

Providers

  • MongoDB (Mongoose)
  • MongoDB (Prisma)
  • MySQL (Drizzle)
  • MySQL (Prisma)
  • PostgreSQL (Drizzle)
  • PostgreSQL (Prisma)
  • PostgreSQL Neon (Drizzle)

Schemas

  • Authentication
    • MongoDB (Mongoose)
    • MySQL (Drizzle)
    • PostgreSQL (Drizzle)
  • Banking App
    • MongoDB (Mongoose)
    • MySQL (Drizzle)
    • PostgreSQL (Drizzle)
  • Blog Application
    • MongoDB (Mongoose)
    • MySQL (Drizzle)
    • PostgreSQL (Drizzle)
  • Todo App
    • MongoDB (Mongoose)
    • MySQL (Drizzle)
    • PostgreSQL (Drizzle)

Tooling

  • Commitlint
  • ESLint
  • Husky
  • Lint-Staged
  • Prettier
  • TypeScript

Contributing

  • Blueprint
  • Component
  • Foundation
  • Provider
  • Schema

Pages

  • Components
  • Foundations
  • Blueprints
  • Providers
  • Schemas
  • Contributors
  • Changelog
  • Contributing
  • llms.txt

18 June 2026 - Next.js File Upload Component

Add a file upload component powered by Imagekit.

Next.js File Upload(Imagekit) Component Docs

Installation#

npx servercn-cli@latest add file-upload

File & Folder Structure#

Loading files...
servercn

Quick Links

  • Home
  • Docs
  • Components
  • Foundations
  • Blueprints
  • Providers
  • Schemas
  • Contributing
  • Contributors
  • Changelog
  • GitHub
  • Discord

Components

  • All Components
  • API Error Handler
  • API Response Formatter
  • Async Request Handler
  • Auth Verification Middleware
  • Background Jobs (Cron)
  • Email Service
  • Env Configuration
  • File Upload (Cloudinary)
  • File Upload (ImageKit)
  • GitHub & Google OAuth
  • GitHub OAuth
  • Global Error Handler
  • Google OAuth
  • Graceful Shutdown Handler
  • Health Check Endpoint
  • HTTP Status Codes
  • JWT Utilities
  • Not Found Handler
  • OAuth Component
  • Password Hashing
  • Rate Limiter
  • Request Validator (Zod)
  • Role Based Access Control
  • Security Headers
  • Structured Logger
  • Swagger API Documentation
  • Token & OTP Utilities
  • Validate ObjectId Middleware

Foundations

  • All Foundations
  • Basic Express Starter
  • Drizzle MySQL Starter
  • Drizzle Neon PostgreSQL
  • Drizzle PostgreSQL Starter
  • Hybrid Auth Starter
  • Mongoose Starter
  • Prisma MongoDB Starter
  • Prisma MySQL Starter
  • Stateful Auth Starter
  • Stateless Auth Starter

Blueprints

  • All Blueprints
  • Banking Application
  • Hybrid Authentication
  • Stateful Authentication
  • Stateless Authentication

Providers

  • All Providers
  • MongoDB (Mongoose)
  • MongoDB (Prisma)
  • MySQL (Drizzle)
  • MySQL (Prisma)
  • PostgreSQL (Drizzle)
  • PostgreSQL (Prisma)
  • PostgreSQL Neon (Drizzle)

Schemas

  • All Schemas
  • Authentication
  • Banking App
  • Blog Application
  • Todo App

SERVERCN

© 2026 | servercn | All rights reserved.

Built with
byAkkal Dhamiand the Contributors
GithubDiscord