feat: initialize CollabTableServer with models, sync, and notification handling
- Add go.mod and go.sum for dependency management - Implement models for List, Field, Item, ItemValue, SyncRequest, SyncResponse, and NotificationEvent - Create notification handling functions including enqueueNotification and ignoreNotificationError - Implement sync functionality to handle data synchronization between client and server - Add web data handling and notification polling endpoints - Include tests for timestamp normalization and sync logic - Embed web assets for serving the frontend application
This commit is contained in:
1 parent
e12940fef0
commit
cac2faae2e
41 files changed
+2535
-5502
No files matched your search
@@ -2,7 +2,7 @@
|
||||
# Server
|
||||
#################################################################
|
||||
PORT=3000
|
||||
NODE_ENV=production
|
||||
APP_VERSION=dev
|
||||
|
||||
# Set to "true" once served over HTTPS - marks the admin session cookie Secure.
|
||||
COOKIE_SECURE=false
|
||||
@@ -26,3 +26,6 @@ DB_INIT_RETRY_MAX_ATTEMPTS=0
|
||||
# Allow at most this much client clock skew into sync timestamps (default: 0)
|
||||
# Keep this at 0 to prevent future-dated rows from being re-sent in hot loops.
|
||||
SYNC_MAX_FUTURE_SKEW_MS=0
|
||||
|
||||
# Notification retention period in milliseconds (default: 7 days)
|
||||
NOTIF_RETENTION_MS=604800000
|
||||
Reference in new issue
Block a user