API Migrada
This commit is contained in:
10
routes/index.js
Normal file
10
routes/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Router } from 'express';
|
||||
|
||||
const router = Router();
|
||||
|
||||
router.get('/', (req, res) => {
|
||||
res.send({ RESPONSE: "This is the API's base route. This is a testing thing." });
|
||||
console.log(`HTTP RESPONSE: ${res.statusCode}, ${res.statusMessage}`);
|
||||
});
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user