Current Version: v0.4.9

Build Backend Faster with ServCraft

A modular, production-ready Node.js backend framework built with TypeScript, Fastify, and Prisma. Generate production-ready backends in minutes.

Quick Install
# Complete setup in under 5 minutes
npm install -g servcraft
servcraft init my-api --template full
cd my-api
npm install
npm run db:push
npm run dev
⌘Kto search
18+
Modules
v0.4.9
Version
4
Databases
3
Validators

Everything You Need to Ship Faster

Production-ready features built-in. Focus on your business logic, not boilerplate.

Powerful CLI

Generate projects, add modules, scaffold CRUD operations with a single command.

Modular Architecture

Pick only what you need. Auth, cache, websockets, payments - all as optional modules.

Production-Ready

Security headers, rate limiting, audit trails, and structured logging built-in.

Multi-Database

Works with PostgreSQL, MySQL, SQLite, and MongoDB through Prisma ORM.

i18n Support

Built-in internationalization with 7+ locales. Reach users worldwide.

Advanced Security

JWT auth, RBAC, MFA, OAuth providers, and HMAC webhook signatures.

18+ Pre-built Modules

Add powerful features with a single command. Every module is production-ready and battle-tested.

Authentication

Ready

User Management

Ready

Email Service

Ready

Redis Cache

Ready

Rate Limiting

Ready

Webhooks

Ready

Job Queue

Ready

WebSockets

Ready

Search

Ready

File Upload

Ready

MFA/TOTP

Ready

OAuth

Ready

Payments

Ready

Notifications

Ready

i18n

Ready

Feature Flags

Ready

Analytics

Ready

Media Processing

Ready

API Versioning

Ready

Powerful CLI at Your Fingertips

Generate projects, scaffold CRUD operations, add modules, and more - all from the command line.

servcraft init my-app
servcraft add auth
servcraft scaffold post
servcraft generate resource
Example: Using Services
1// Your controller using ServCraft services
2import { webhookService } from '../webhook';
3import { queueService } from '../queue';
4import { wsService } from '../websocket';
5import { strictRateLimit } from '../rate-limit';
6
7class PostController {
8 async createPost(req, res) {
9 // Create the post
10 const post = await db.post.create(req.body);
11
12 // Notify external systems via webhooks
13 await webhookService.publishEvent('post.created', post);
14
15 // Queue email notifications
16 await queueService.addJob('emails', 'send-email', {
17 to: 'admin@example.com',
18 subject: 'New Post!'
19 });
20
21 // Real-time broadcast via WebSockets
22 await wsService.broadcastToAll('post:new', post);
23
24 res.json(post);
25 }
26}
27
28// Apply rate limiting
29app.post('/api/posts', strictRateLimit, postController.createPost);

Why ServCraft?

Built by developers, for developers. We understand the pain of setting up backends from scratch.

Save Time

From idea to production in hours, not days.

Scale Fast

Built on Fastify for incredible performance.

Type-Safe

Full TypeScript support with smart types.

Well Documented

Comprehensive docs and examples included.

New Feature

Try ServCraft Online

Test ServCraft directly in your browser. No installation required. Write code, run it, and see the results instantly.

Write and execute code in seconds
Test modules without setup
Sandboxed environment for safety
ServCraft Playground
// Code Editor
console.log("Welcome to ServCraft!");
console.log("Version: 0.4.9");
console.log("Ready for coding!");
Output
Welcome to ServCraft!
Version: 0.4.9
Ready for coding!
Execution time: 12ms
Press ⌘K to search docs

Ready to Build Faster?

Join thousands of developers who are already shipping faster with ServCraft.