Overview
The nhost_sdk package provides authentication and file storage/retrieval capabilities for Dart applications, enabling seamless integration with Nhost's backend services. It supports user sign-up, login, session management, and secure file uploads and downloads across multiple platforms. Built for developers using Flutter, it simplifies backend operations with a clean, intuitive API. The SDK is designed to work efficiently on Android, iOS, Web, macOS, Windows, and Linux, making it ideal for cross-platform apps requiring real-time data and secure file handling.
Use cases
- User authentication in Flutter apps
- Secure file uploads and downloads
- Real-time data synchronization
- Cross-platform backend integration
- Building full-stack Flutter applications
- Managing user sessions securely
Key features
- Built-in authentication flows
- File storage and retrieval
- Cross-platform support
- Real-time updates
- Easy setup via pub add
- Type-safe API methods
Suitable for
- Flutter developers seeking backend integration
- Apps needing secure user auth
- Projects requiring cloud file storage
- Cross-platform mobile and web apps
- Teams using Nhost as their backend service
- Developers wanting rapid prototyping with backend features
Considerations
- Requires a Nhost project setup
- Dependent on Nhost's backend availability
- Limited customization without backend configuration
- May require additional security rules
- Not suitable for offline-first apps without modifications
- Authentication state persistence needs manual handling