Create a fake REST API Using JSON Server
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of using JSON Server?
To replace a database in a live application
To compile JavaScript code
To mimic a REST API using a JSON file
To create a production-ready backend
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to install JSON Server with NPM?
npm install json-server
npm install json-server --dev
npm install json-server --global
npm install json-server --local
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What file needs to be created to set up JSON Server as an API?
config.json
db.json
api.json
server.js
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which file do you add a script to run JSON Server automatically?
package.json
config.json
server.js
index.html
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key requirement for JSON keys in the data structure?
They must be numbers
They must be wrapped in single quotes
They must be wrapped in double quotes
They must be in uppercase
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which port does JSON Server run on by default?
8080
5000
4000
3000
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What feature does JSON Server provide when you visit localhost:3000?
A welcome page showing resources
A database management tool
A code editor
A command line interface
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
2 questions
REST APIs with Flask and Python - Writing Your Item Resources to a Database
Interactive video
•
University
5 questions
The Complete Strapi™ Course with Plugins and Deployment - Creating Projects in Bulk
Interactive video
•
University
5 questions
Design Microservices Architecture with Patterns and Principles - Demo Microservices Architecture Code Review - E-Commerc
Interactive video
•
University
6 questions
Consumer Offsets and Delivery Semantics
Interactive video
•
University
4 questions
Kafka for Developers - Data Contracts Using Schema Registry - Build the DTOs for CoffeeOrderService
Interactive video
•
University
2 questions
Learn Java from Scratch - A Beginner's Guide - Step 11 - Java Dates - Introduction to LocalDate, LocalTime, and LocalDat
Interactive video
•
University
2 questions
Mega Web Development Bootcamp with React Bootstrap 5, Redux, and REST API - Delete Post and Show Alert Message after Del
Interactive video
•
University
2 questions
Full Stack Web Development MASTERY Course - Novice to Expert - Local and Session Storage
Interactive video
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University