ecliptica/server/routers/dogsitters-finder/index.js

10 lines
211 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;