feat: add health check page (#244)

This commit is contained in:
kimatata
2025-07-12 18:33:45 +09:00
committed by GitHub
parent ed1e90c714
commit f3ebaafdf6
12 changed files with 176 additions and 12 deletions

View File

@@ -39,6 +39,10 @@ const sequelize = new Sequelize({
const indexRoute = require('./routes/index');
app.use('/', indexRoute);
// "/health"
const healthIndexRoute = require('./routes/health/index')();
app.use('/health', healthIndexRoute);
// "users"
const usersIndexRoute = require('./routes/users/index')(sequelize);
const usersFindRoute = require('./routes/users/find')(sequelize);