[MAJOR][FIRSTCOMMIT] Added basic routes, controllers, repos to kanban service (no postgres yet)

This commit is contained in:
2025-09-27 14:09:35 +05:30
parent f283f6043f
commit fd7ceca2ef
109 changed files with 3554 additions and 444 deletions

24
lib/util/misc.js Normal file
View File

@@ -0,0 +1,24 @@
"use strict";
/**
* Miscellaneous shared functions go here.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRandomInt = getRandomInt;
exports.tick = tick;
/**
* Get a random number between 1 and 1,000,000,000,000
*/
function getRandomInt() {
return Math.floor(Math.random() * 1000000000000);
}
/**
* Wait for a certain number of milliseconds.
*/
function tick(milliseconds) {
return new Promise((resolve) => {
setTimeout(() => {
resolve();
}, milliseconds);
});
}
//# sourceMappingURL=misc.js.map