Basically a teacher dropped this project in our laps the last week of the semester and I have no idea where to start. I just wanted to see if anyone has some suggestions on how to accomplish this:
This assignment will assess the student's ability to implement a simple web service. Students may use whichever technology/platform of their choosing, but the web service must satisfy the following requirements:
One service endpoint will start a timer and issue a token to the client, when the client calls back into the service with a previously issued token to a second endpoint, the elapsed time associated with that timer will be calculated and returned to the client, a third endpoint will accept a token to stop a timer and discard it, the timer's elapsed time will be returned to the client. Essentially this assignment requires a student to build a stopwatch service that starts the stopwatch, gets lap time, and gets the final time. For full credit, include a client which performs calls to each of the endpoints. The client can be a simple web page using JavaScript XMLHttpRequest objects or a helper library such as jQuery to perform the calls to the service, but the client must display the token returned by the first call, and the elapsed times returned by the second and third calls.
It is recommend that students choose a language/platform such as node.js, python, or golang as each of these languages include an http server in the standard library and all are cross-platform. It is not required to build a SOAP based web service, the solution can be as simple as a basic RESTful API.
Any help is appreciated.