Skip to content

Lab № 5#5

Merged
Art-Invis merged 10 commits into
mainfrom
Lab-5
Mar 31, 2026
Merged

Lab № 5#5
Art-Invis merged 10 commits into
mainfrom
Lab-5

Conversation

@Art-Invis
Copy link
Copy Markdown
Owner

@Art-Invis Art-Invis commented Mar 27, 2026

Updated Demo of the IoT App for Lab 5 ⤵️
https://drive.google.com/file/d/1qyUXYWPRXIsklk1TgaTWCRLSt_y2eMxF/view?usp=drive_link

🌐 New Features & API Integration:

  • Custom REST API & Backend: Developed a dedicated Flask (Python) server with an SQLite database to manage users, IoT devices, and telemetry, moving away from simple mock data. Integrated via the dio package.
  • Token-Based Security: Upgraded the authentication flow. The app now receives a secure access_token from the server, heavily encrypted and stored using flutter_secure_storage.
  • Asynchronous UI (FutureBuilder): Completely re-architected the Dashboard device list to fetch cloud nodes dynamically using FutureBuilder.
  • Offline Mode & Local Caching (Core Requirement): Implemented a robust fallback system. If the device loses internet connection, the app seamlessly loads the user profile and IoT nodes from the local cache (SharedPreferences).
  • Full Cloud CRUD & Sync: Devices and user profiles are now fully synchronized with the cloud. Added the ability to Create, Update, and Delete IoT nodes globally. Added a "System Purge" feature to completely delete the cloud account and all associated data.

@Art-Invis Art-Invis merged commit 9477d59 into main Mar 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant