Question: This is Javascript question... node.js Make a server.js file all callback functions must be written in the new ES6 Arrow Function Match the GET

This is Javascript question... node.js

Make a server.js file

all callback functions must be written in the new ES6 "Arrow Function"

  1. Match the "GET" route "/student" and return a JSON formatted string: {message: "all students"}. Additionally, this route will support optional queries:
    • "/studentList?pro=A" which returns a JSON formatted string: {message: A}
    • "/studentList?sch=T" which returns a JSON formatted string: {message: T }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!