Project Templates
Choose from optimized project templates designed for different use cases. Each template includes intelligent defaults, modern tooling, and best practices.
Available Templates
API Server
--template=api
Perfect for REST APIs, GraphQL servers, and backend services
Best For:
Traditional backend APIs, microservices, GraphQL endpoints
Key Features:
+4 more features
Create project
bash
Microservice
--template=microservice
Lightweight services optimized for serverless deployment
Best For:
Serverless functions, edge computing, event-driven architectures
Key Features:
+4 more features
Create project
bash
Full-Stack Application
--template=fullstack
Complete application with frontend integration support
Best For:
Complete web applications, dashboards, content management systems
Key Features:
+4 more features
Create project
bash
Feature Comparison
Feature | API Server | Microservice | Full-Stack |
---|---|---|---|
TypeScript Setup | |||
Validation Middleware | |||
Database Integration | |||
Authentication | |||
WebSocket Support | |||
File Uploads | |||
Session Management | |||
Static Assets | |||
Cold Start Optimized | |||
Minimal Dependencies | |||
Edge Runtime Ready |
Template Details
API Server
Perfect for REST APIs, GraphQL servers, and backend services
Use Cases:
- REST API servers
- GraphQL endpoints
- Microservices
- Backend for mobile apps
- Third-party integrations
Project Structure
src/ ├── modules/ │ └── health/ ├── middleware/ ├── config/ ├── types/ └── server.ts tests/ docs/ package.json tsconfig.json
All Features
Create api server
bash
Microservice
Lightweight services optimized for serverless deployment
Use Cases:
- AWS Lambda functions
- Vercel Edge functions
- Cloudflare Workers
- Event processors
- API Gateway backends
Project Structure
src/ ├── handlers/ ├── lib/ ├── types/ └── index.ts deployment/ package.json tsconfig.json
All Features
Create microservice
bash
Full-Stack Application
Complete application with frontend integration support
Use Cases:
- Web applications
- Admin dashboards
- Content management
- E-commerce platforms
- Social platforms
Project Structure
src/ ├── modules/ ├── middleware/ ├── public/ ├── views/ ├── uploads/ └── server.ts frontend/ tests/ docs/
All Features
Create full-stack application
bash