diff --git a/README.md b/README.md
index a56b75a..19bde9b 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
IronFlow
-Cross-platform mobile app for strength training progress tracking.
+Cross-platform app for strength training progress tracking.
@@ -12,14 +12,15 @@

-**IronFlow** was developed to allow free, private, and seemless tracking of training progress and activities.
+**IronFlow** was developed to allow free, private, and seemless tracking of training progress and activities.
+A live web demo is available at [andreped.pages.dev](https://andreped.pages.dev), deployed via Cloudflare Pages.
## [Features](https://github.com/andreped/IronFlow#Features)
-The app is compatible with both Android and iOS.
+The app is compatible with Android, iOS, and web (demo).
- [x] Ability to save individual exercises with weight and number of reps and sets.
- [x] All data is stored in a private SQLite database on the device.
@@ -100,10 +101,10 @@ The web build output is in `build/web/`. Serve it locally with:
npx serve build/web
```
-### Deploy web to GitHub Pages
+### Deploy web to Cloudflare Pages
Push to `main` or trigger the **Build & Deploy Web** workflow manually from the Actions tab.
-The app will be live at `https://.github.io/IronFlow/`.
+The app will be live at `https://andreped.pages.dev`.
## [Getting Started](https://github.com/andreped/IronFlow#Getting-Started)
diff --git a/lib/core/database.dart b/lib/core/database.dart
index fbf7c78..97409be 100644
--- a/lib/core/database.dart
+++ b/lib/core/database.dart
@@ -45,6 +45,9 @@ class DatabaseHelper {
}
Future _databasePath() async {
+ if (kIsWeb) {
+ return 'exercises.db';
+ }
return join(await getDatabasesPath(), 'exercises.db');
}
@@ -462,14 +465,15 @@ class DatabaseHelper {
final db = await database;
final List