Initial commit

This commit is contained in:
decolua
2026-01-05 09:58:59 +07:00
commit 3857598de4
159 changed files with 14537 additions and 0 deletions

21
src/server-init.js Normal file
View File

@@ -0,0 +1,21 @@
// Server startup script
import initializeCloudSync from "./shared/services/initializeCloudSync.js";
async function startServer() {
console.log("Starting server with cloud sync...");
try {
// Initialize cloud sync
await initializeCloudSync();
console.log("Server started with cloud sync initialized");
} catch (error) {
console.log("Error initializing cloud sync:", error);
process.exit(1);
}
}
// Start the server initialization
startServer().catch(console.log);
// Export for use as module if needed
export default startServer;