Overview of NextDrupal client features
mainThe NextDrupal client is a JSON:API client designed to bridge Drupal data with Next.js. It supports both read operations (fetching data for static generation or server-side rendering) and write operations (POST, PATCH, and DELETE) to create or modify Drupal resources directly from Next.js.
Key capabilities include:
- Resource Helpers: Specialized methods for fetching resources, menus, views, and search indices.
- Customizable Authentication: Supports
Bearer,Basic,Next-Auth, or custom implementations. - Extensibility: Support for custom serializers and custom fetchers.
- Caching: Support for various caching layers such as memory cache or Redis.
- Error Handling: Provides human-readable error messages.