JS-Dev-101 practice question 22 of 25

A developer is leading the creation of a new web server for their team that will fulfill API requests from an existing client. The team wants a web…

Full set: 148 questions
A developer is leading the creation of a new web server for their team that will fulfill API requests from an existing client. The team wants a web server that runs on Node.js, and they want to use the new web framework Minimalist.js. The lead developer wants to advocate for a more seasoned back- end framework that already has a community around it. Which two frameworks could the lead developer advocate for?
Answer options
A: Angular
B: Next Correct answer
C: Gatsby
D: Next.js Correct answer
Correct Answer:
B. Next; D. Next.js
Explanation

The requirement is for a "seasoned back-end framework that runs on Node.js" to build a web server for API requests. Next.js is a popular, well-established framework built on top of Node.js and React. While it is a full-stack framework, its API Routes feature is specifically designed for building back-end APIs, making it a suitable choice. It has a large and active community. The options "Next" and "Next.js" refer to the same framework.

Why Incorrect

A. Angular is a front-end framework used for building client-side applications and does not function as a Node.js back-end server framework.
C. Gatsby is a static site generator for the front end. It is not designed for creating dynamic, request-fulfilling API servers.

References

1. Next.js Official Documentation, "API Routes: Introduction". Vercel. Accessed May 2024. The documentation states, "API routes provide a solution to build your API with Next.js." This confirms its use as a back-end framework.

2. Salesforce JavaScript Developer I Certification Guide. Salesforce. Accessed May 2024. The guide lists "server-side JavaScript frameworks such as Express and Next.js" as relevant topics, officially sanctioning Next.js as a back-end framework in the context of this exam.

Scroll to Top