feat & docs: implement zero-knowledge background sync protocol & conflict resolution

This commit is contained in:
2026-05-27 21:50:11 +02:00
parent 55cbe71520
commit 87d719ad9b
6 changed files with 491 additions and 8 deletions
+2
View File
@@ -3,6 +3,7 @@ import cors from 'cors'
import dotenv from 'dotenv'
import authRouter from './routes/auth.js'
import logbooksRouter from './routes/logbooks.js'
import syncRouter from './routes/sync.js'
dotenv.config()
@@ -15,6 +16,7 @@ app.use(express.json())
// Mount routes
app.use('/api/auth', authRouter)
app.use('/api/logbooks', logbooksRouter)
app.use('/api/sync', syncRouter)
// Health check endpoint
app.get('/api/health', (req, res) => {