feat(auth): add user schema and auth api

This commit is contained in:
2026-05-20 22:26:23 +07:00
commit 9d7114e2f1
13 changed files with 1658 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { Router } from 'express';
import authRoutes from './auths.js';
const router = Router();
router.get('/health', (req, res) => {
res.json({
success: true,
data: {
status: 'ok',
time: new Date().toISOString(),
},
});
});
router.use('/auth', authRoutes);
export default router;