Secure API Starter Production-ready secure API template. Features - **Authentication** - JWT, API keys, OAuth2 -...
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**
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**
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
# 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
```bash
# 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
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。