😀Directory Structure

Subject to change

DartStream Framework Structure

  • /dartstream_framework

    • /bin

      • server.dart - Entry point for the DartStream server.

    • /lib

      • /dartstream

        • /src

          • /middleware - Middleware components, including authentication checks.

          • /routing - Mobile-optimized routing and API versioning.

          • /controllers - Controllers for handling mobile-specific logic.

          • /services - Core services including push notification handling.

            • push_notification_service.dart - Handling push notifications.

          • /models - Data models, possibly including offline sync logic.

          • /views - If serving any pages or email templates directly.

          • /session - Session management optimized for mobile.

          • /validation - Input validation, crucial for mobile data formats.

          • /error_handling - Mobile-specific error handling.

          • /logging - Logging for mobile-specific issues.

          • /auth - Authentication mechanisms suitable for mobile.

            • jwt_service.dart - JWT handling for mobile authentication.

          • /database - Data access layer, optimized for mobile usage patterns.

          • /sync - Services for data syncing in offline scenarios.

        • /public - Static files, if serving any directly to mobile.

        • /resources - Other resources.

      • dartstream.dart - Main library entry point.

    • /test - Test suites for the framework.

    • pubspec.yaml - Dependencies and project metadata.

Last updated