multy-stub/server/routers/dogsitters-finder/index.js

10 lines
210 B
JavaScript

const { response } = require('express');
const router = require('express').Router();
router.get("/users", (request, response) => {
response.send(require("./json/users.json"))
})
module.exports = router;