You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(auth): integrate Supabase authentication with email/password and OAuth
- Add Supabase authentication SDK and server-side logic
- Implement Supabase OAuth login interface
- Add Supabase user fields to database schema with synchronization
- Update documentation and project overview with Supabase details
- Extend API routes for Supabase auth operations
- Enhance user and dashboard queries with isActive condition for data filtering
- Complete integration testing for Supabase email/password and OAuth flows
Copy file name to clipboardExpand all lines: web/TECHNICAL_DOCUMENTATION.md
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The application is deployed and available at: https://site15-my-dashboard.vercel
17
17
-**API**: tRPC for type-safe API communication
18
18
-**Database**: PostgreSQL with Prisma ORM
19
19
-**Styling**: Pico.css and Tailwind CSS
20
-
-**Authentication**: Telegram authentication with redirect method and server-side hash verification
20
+
-**Authentication**: Telegram authentication with redirect method and server-side hash verification, Supabase authentication with email/password and OAuth providers
21
21
-**Deployment**: Vercel with Neon PostgreSQL database integration
22
22
23
23
### Mobile Application
@@ -190,6 +190,10 @@ model WidgetLog {
190
190
191
191
### Authentication Routes
192
192
-`/auth` - Authentication operations
193
+
-`/auth/supabase-sign-up` - Supabase user registration
194
+
-`/auth/supabase-sign-in` - Supabase user sign in
195
+
-`/auth/supabase-sign-out` - Supabase user sign out
-`/dashboards/generateQrCode` - Generate QR code for device linking
@@ -202,7 +206,7 @@ model WidgetLog {
202
206
203
207
## Widgets Implementation
204
208
205
-
The project includes an initial implementation of a Habits Tracking Widget. Detailed documentation for widgets is available in the [Widgets Documentation(Russian)](WIDGETS_DOCUMENTATION_RU.md)file.
209
+
The project includes multiple widget implementations: Habits Tracking Widget, Clock Widget, Calendar Widget, and Counter Widget. Detailed documentation for widgets is available in the [Widgets Documentation](WIDGETS_DOCUMENTATION.md) and [Widgets Documentation (Russian)](WIDGETS_DOCUMENTATION_RU.md)files.
206
210
207
211
## Mobile Application Structure
208
212
@@ -347,10 +351,17 @@ If you encounter this error with a different domain, you can add it to the `allo
347
351
348
352
## Future Development Roadmap
349
353
350
-
1. Implement email/password registration and anonymous mode with localStorage
351
-
2. Complete Dashboard and Widget CRUD operations
352
-
3. Implement mobile QR code scanning and device linking
353
-
4. Create widget components for mobile display
354
+
1. Email/password registration and anonymous mode with localStorage (COMPLETED)
355
+
2. Supabase authentication with email/password and OAuth providers (COMPLETED)
356
+
3. Complete Dashboard and Widget CRUD operations
357
+
4. Implement mobile QR code scanning and device linking
358
+
5. Create widget components for mobile display
359
+
6. Implement auto-refresh polling for real-time updates
360
+
7. Add color theme support for widgets
361
+
8. Implement widget state management and logging
362
+
9. Add offline caching for mobile widgets
363
+
10. Implement user metrics and logging
364
+
11. Prepare for MVP release
354
365
5. Implement auto-refresh polling for real-time updates
0 commit comments