We need methods for maintaining the json file, e.g. inserting new users, updating answered questions, adding new questions, retrieving questions, retrieving users, etc. I.e. normal db access methods. These will naturally all be created on server side, in the server.js file.
Description
We need methods for maintaining the json file, e.g. inserting new users, updating answered questions, adding new questions, retrieving questions, retrieving users, etc. I.e. normal db access methods. These will naturally all be created on server side, in the server.js file.