R202_-_SP_2025_-_FE_3617.webp
S

R202_-_SP_2025_-_FE_3617.webp

Kizspy | Question: 17
(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
singing_bird
Ngày thêm
Lượt xem
3,595
Lượt bình luận
14
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom