A simple API that uses express to handle different _http requests.
This is for the projects of the Campus Street Boot Camp, given as a class activity.
Api which gets a random set of elements from a json data as a questionbank using GET.
Api that checks the response from a client as a answer and validates it using POST.
For every post there is a internal logical count (marks) in the server, which is reflected to the client at the end all question attemption.
Please check that you have Node.js installed with npm. If you don't know where to start, check https://nodejs.org/.
Then run what a usual Node.js application needs with dependencies:
npm installFinally, run our application:
npm start # works the same for: node index.jsPlease do not forget to include the data.json file in the same folder.