Since I had to complete the project within the deadline, I decided to build a JavaFX based application which would be able to access and modify online as well as offline data. The offline data in the application is stored in an sqlite database the location of which is predefined to be the home folder of whatever operating system the user is working on. Linux has a dedicated home folder for each user in the /home/<username> directory. In windows, the db file is saved in C:Users<username>.
The source code has been uploaded to drive for now. I will upload it to github when I get the time for it. The project has been closed due to difference in my working hours and theirs. The source code will be transferred to another developer. Any updates that I receive, will be uploaded to this blog.
Meanwhile I will try to browse around for a way to complete the goal of an offline web capable JSON database.