How codigofacilito/stories works
Project Type and Purpose
• This is a cross-platform mobile application built with Flutter (Dart).
• The app’s purpose is to let users create “stories” (images/videos), view a gallery, and store those stories in Firebase (Realtime Database + Storage).
File Structure
• Top-level “android” and “ios” folders contain the native build configurations and platform-specific runners.
• The “lib” folder is the heart of the Flutter app:
• lib/main.dart: application entry point
• lib/Pages: screens (StoriesPage, AddStoryPage, GalleryPage, ImageViewerPage, VideoViewerPage, FormUserPage)
• lib/Widget: reusable UI components (AnimatedBar, UserInfo)
• lib/Model: data models (Story, User)
• lib/Data/Database.dart: data access layer communicating with Firebase
• pubspec.yaml/.lock declare dependencies on firebase_core, firebase_database, firebase_storage, photo_manager, video_player, etc.
README
• The use of Firebase and plugins indicates a layered architecture: UI → Data Layer → External Services.