📄️ Endpoints Auto Generation
How Arkos Generates API Routes
📄️ Authentication System
Arkos provides a comprehensive JWT-based authentication system with Role-Based Access Control (RBAC). This guide covers the complete setup and usage, starting with Static RBAC and showing how to upgrade to Dynamic RBAC when needed.
📄️ Interceptor Middlewares
Arkos automatically generates RESTful API endpoints for your Prisma models, but your application needs custom business logic. Interceptor middlewares let you hook into these auto-generated endpoints to add your own processing logic without losing the power of automation - both for your Prisma model operations and built-in authentication endpoints.
📄️ Request Data Validation
Request data validation in Arkos ensures incoming data meets your application's requirements before processing. The framework provides flexible validation through both class-validator and Zod integration, with automatic validation for request bodies, query parameters, and path parameters across all auto-generated endpoints, custom endpoints, and authentication routes.
📄️ Swagger API Documentation
Available from v1.3.0-beta
📄️ File Uploads
Arkos provides a robust file upload system that supports various file types including images, videos, and documents. Starting with v1.4.0-beta, ArkosRouter introduces a powerful declarative configuration system that makes file uploads seamless, especially for auto-generated CRUD endpoints.
📄️ Global Error Handler
Arkos includes a powerful global error handling system that automatically processes all errors thrown within your application, transforms them into consistent response formats, and manages environment-specific behavior. This centralized approach simplifies error management and ensures a consistent experience for API consumers.
📄️ Sending Emails
Arkos provides a powerful EmailService class that delivers a robust and flexible solution for handling email-related tasks in your application with a simple, unified API.