forked from bro-students/multy-stub
19 lines
534 B
JavaScript
19 lines
534 B
JavaScript
const router = require("express").Router();
|
|
|
|
router.get("/game-page", (request, response) => {
|
|
response.send(require("./json/gamepage/success.json"));
|
|
});
|
|
|
|
router.get("/categories", (request, response) => {
|
|
response.send(require("./json/categories/success.json"));
|
|
});
|
|
|
|
router.get("/shopping-cart", (request, response) => {
|
|
response.send(require("./json/shopping-cart/success.json"));
|
|
});
|
|
|
|
router.get("/home", (request, response) => {
|
|
response.send(require("./json/home-page-data/success.json"));
|
|
});
|
|
|
|
module.exports = router; |