Secure Api Starter
Provides a production-ready API template with JWT, API key, OAuth2 authentication, role-based access control, rate limiting, input validation, logging, and e...
Latest: v1.0.0
Initial release of Secure API Starter.
- Production-ready template for secure API development
- Supports JWT, API keys, OAuth2, and session-based authentication
- Includes role-based access control and per-user/IP rate limiting
- Features input/schema validation, comprehensive logging, and structured error handling
- Quick-start scripts and clear Node.js 18+ & TypeScript requirements
Secure API Starter
Production-ready secure API template.
Features
- Authentication - JWT, API keys, OAuth2
- Authorization - Role-based access control
- Rate Limiting - Per-user, per-IP
- Input Validation - Schema validation
- Logging - Request/response logs
- Error Handling - Structured errors
Quick Start
# Create API
./create-api.sh my-api
# Add authentication
./create-api.sh my-api --auth jwt
# Add rate limiting
./create-api.sh my-api --rate-limit 100
Auth Methods
- JWT tokens
- API keys
- OAuth2 (Google, GitHub)
- Session-based
Requirements
- Node.js 18+
- TypeScript
Author
Sunshine-del-ux
