first commit of refactor
This commit is contained in:
17
backend/api/routes/status.js
Normal file
17
backend/api/routes/status.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import express from 'express';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
// GET /status - System Status (mock)
|
||||
router.get('/', (req, res) => {
|
||||
// TEMP - Mock response until poller service is complete
|
||||
res.json({
|
||||
latestBlock: 0,
|
||||
lag: 0,
|
||||
status: 'healthy',
|
||||
timestamp: new Date().toISOString()
|
||||
});
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user