10 lines
181 B
TypeScript
10 lines
181 B
TypeScript
|
import express from 'express';
|
||
|
|
||
|
const router = express.Router();
|
||
|
|
||
|
router.get('/', (req, res) => {
|
||
|
res.json({message: 'API server up and running!'});
|
||
|
});
|
||
|
|
||
|
module.exports = router;
|