feat: add modular plugin system and documentation

This commit is contained in:
alphaone
2026-02-04 10:48:36 +00:00
parent 80d2c4bfb3
commit 146f7dd1b1
3 changed files with 74 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
module.exports = function(app, services) {
console.log("🚀 Plugin 'Hello' activé !");
//route de test accessible sur http://localhost:3000/api/hello
app.get('/api/hello', (req, res) => {
res.json({ message: "Le système de plugin fonctionne !" });
});
};