Start on API

This commit is contained in:
Isaac
2022-05-06 00:01:19 +01:00
parent a37d5e7613
commit 11ec090ab6
10 changed files with 52 additions and 3 deletions

View File

6
src/routes/index.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports.get = {
handler: (req, res) => {
const { client } = res.context.config;
return `Hello, I am ${client.user.username}!`;
},
};