Q19.webp
L

Q19.webp

Kizspy | Question: 19
(Choose 1 answer)
const jsonServer = require("json-server');
const server jsonServer.create();
const router jsonServer.router('data.json');
const port = 3000;
server.use(router);
server.listen(port, () => {
console.log(JSON server is running on port ${port}');
});
What is the above code used for?
A. Create a dynamic server to serve JSON data.
B. Create a dynamic web application using JSON data.
C. Create a JSON file based on data from the server.
D. Configure the development environment for the project using JSON.

Thông tin

Category
FER202
Thêm bởi
Luffy_san
Ngày thêm
Lượt xem
2,563
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom