Major Backend SI Update part 2: added controllers

This commit is contained in:
X4Lo committed 2025-02-15 22:42:57 +01:00
1 parent a51e207707
commit dbb00fdb61
38 files changed
+2129 -1231

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
class PingController {
constructor() {
if (!PingController.instance) {
PingController.instance = this;
}
return PingController.instance;
}
ping(req, res) {
console.log("Ping Pong...")
res.status(200).json({ message: 'pong' });
}
}
module.exports = new PingController();