2024-05-19 03:01:32 +03:00
|
|
|
const router = require('express').Router();
|
|
|
|
|
|
|
|
router.get('/recipe-data', (request, response) => {
|
2024-05-19 21:07:33 +03:00
|
|
|
response.send(require('./json/recipe-data/success.json'));
|
|
|
|
});
|
2024-05-19 03:01:32 +03:00
|
|
|
|
|
|
|
router.get('/userpage-data', (req, res)=>{
|
2024-05-19 21:07:33 +03:00
|
|
|
res.send(require('./json/userpage-data/success.json'));
|
|
|
|
});
|
2024-05-19 03:01:32 +03:00
|
|
|
|
|
|
|
router.get('/homepage-data', (req, res)=>{
|
2024-05-19 21:07:33 +03:00
|
|
|
res.send(require('./json/homepage-data/success.json'));
|
|
|
|
});
|
2024-05-19 03:01:32 +03:00
|
|
|
|
|
|
|
module.exports = router;
|