Module Library

Explore the complete collection of modular backend bricks. Each brick is a self-contained feature ready to plug into your LegoAPI project.

PrismaExpress

Bookmark

Let users save and organize items. Includes add, remove, list, and toggle functionality with user association.

PrismaExpress

Shopping Cart

Full cart functionality with add, remove, update quantity, and checkout preparation. Handles stock validation.

E-CommerceView Specs
PrismaExpressJWT

User Authentication

Complete JWT-based authentication with register, login, logout, and protected routes middleware.

Auth & SecurityView Specs
PrismaExpress

Product Reviews

Allow users to rate and review products. Includes average rating calculation.

E-CommerceView Specs
Node.jsStripe SDKPrisma

Stripe Payments

Accept payments using Stripe Checkout. Handles session creation and webhook fulfillment.

PaymentsView Specs
MulterCloudinaryExpress

File Upload (Cloudinary)

Upload images or files to Cloudinary using Multer. Returns secure URL.

UtilitiesView Specs
ExpressRate Limit

Rate Limiter

Protect your API from abuse using express-rate-limit. Configurable window and max requests.

Auth & SecurityView Specs
PrismaExpress

Contact Form

Simple contact form submission endpoint. Stores inquiries in database and validates email format.

UtilitiesView Specs
PrismaExpress

Blog Engine

Full-featured blog system with slugs, tags, publishing status, and author association.

PrismaExpress

Comments System

Nested commenting system for any resource (Product, Post, etc). Supports parent/child relationships.

PrismaExpress

User Profile

Endpoints for users to manage their own profile, including password updates and avatar uploads.

PrismaExpress

Admin User Management

Admin-only endpoints to list, update, and delete users.

PrismaExpress

Simple Analytics

Track events and page views. Aggregates data by event type or date.

AnalyticsView Specs
ExpressSwagger

Swagger Docs

Auto-generated API documentation using Swagger UI. Reads definitions from JSDoc comments.

Dev ToolsView Specs
PrismaExpress

API Keys

Generate and validate API keys for external access to your API.

Core APIView Specs
Redis

Redis Cache

High-performance in-memory data store for caching and session management.

StripeExpressPrisma

Stripe Payments (Intents)

Accept payments using Stripe Payment Intents API.

IntegrationsView Specs
AWS SDKMulterPrisma

AWS S3 Upload

Upload files to AWS S3 buckets using multer.

IntegrationsView Specs
PrismaExpress

RBAC (Role Based Access)

Enterprise-grade role management. Assign roles (admin, editor) to users and enforce permissions via middleware.

Auth & SecurityView Specs
PrismaExpress

Follow System

Social graph functionality. Allow users to follow each other, list followers, and see who they are following.

PrismaExpress

Like System

Universal like/reaction system. toggleLike endpoint works for any entity type (post, comment, product).

PrismaExpress

Share Analytics

Track content sharing across platforms. Useful for analytics and engagement metrics.

AnalyticsView Specs
PrismaExpress

Report System

Allow users to report abusive content (posts, comments, users). Admin APIs included to resolve reports.

PrismaExpress

Block User

Prevent interaction. Users can block others. Includes middleware to block requests from blocked users.

PrismaExpress

Admin Panel API

Core admin features: List users, ban users, system stats. Combine with RBAC for security.

PrismaExpress

Transaction Logic

Immutable financial ledger. Record credits, debits, and payments. Essential for any fintech or marketplace app.

E-CommerceView Specs
PrismaExpressMiddleware

Cooldown Mode

System control to throttle or disable features globally during high load or maintenance.

PrismaExpress

System Shutdown

Emergency Kill Switch. Instantly rejects all non-admin traffic with 503 Service Unavailable.