📄️ Custom Prisma Query Options
Arkos automatically generates API endpoints based on your Prisma models while still giving you full control over the underlying database queries. The PrismaQueryOptions configuration allows you to define default query parameters for each operation type, ensuring consistent data access patterns while maintaining flexibility.
📄️ Static Authentication
Arkos offers a Static RBAC (Config-Based) system, ideal for predefined roles and permissions where access control is managed through configuration files. It’s a simple yet flexible approach for setting up authentication and role-based access in your application.
📄️ Dynamic Authentication
Arkos offers a Dynamic RBAC (Database-Based) system, ideal for applications that require flexible, runtime-configurable roles and permissions. This approach allows you to define and modify access controls directly through your database, making it perfect for larger applications where permission structures may evolve over time.
📄️ Handling Relation Fields in Prisma Body Requests
One of the most powerful features of Arkos is its ability to automatically transform JSON data with nested relations into the appropriate Prisma operations. This eliminates the need to manually structure complex nested creates, updates, and connections.
📄️ Image Uploads
The Arkos image upload API provides a powerful way to handle image files with built-in optimization and processing capabilities.
📄️ Video Uploads
Arkos provides built-in support for video file uploads with configurable size limits and supported format validation.
📄️ Document Uploads
Arkos provides seamless handling of document file uploads with configurable size limits and supported format validation.
📄️ Other Files Uploads
Arkos provides seamless handling of general file uploads with configurable size limits and format validation for files not specifically categorized as images, videos, or documents.
📄️ File Uploads Authentication
Arkos provides authentication and authorization controls for file uploads, allowing you to secure your file upload endpoints using the same RBAC (Role-Based Access Control) mechanisms as your other API endpoints.
📄️ Modifying Built-in Middlewares
Arkos provides a flexible middleware system that allows you to customize how HTTP requests are processed. This guide explains how to replace or disable any of the built-in middlewares to tailor the framework to your specific requirements.
📄️ Customizing Prisma Models Routers
Arkos automatically generates RESTful API endpoints for all your Prisma models. However, you might need to customize these endpoints for specific business requirements. This guide explains how to configure, disable, or extend the built-in Prisma model routers.