Сделал хоум роут с hello world и ссылкой на доку
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled

This commit is contained in:
Данил 2024-10-12 21:13:41 +03:00
parent 20cefebc0d
commit a697efbbd4
2 changed files with 10 additions and 0 deletions

8
server/routes/home.js Normal file
View file

@ -0,0 +1,8 @@
module.exports = async function getRateRoute(fastify) {
fastify.get('/', async function (req, res) {
return res.status(200).send({
message: 'Hello World!',
documentation: 'https://github.com/Redume/Kekkai/wiki/'
})
});
}