Steps to use this project.
- Install NodeJs on your computer. (https://nodejs.org/en/download/)
- open the terminal.
- Go to the root directory of the project.
- run "npm install"
- remove the sample2.json file (public/data/sample2.json), and keep your original data file with the same name "sample2.json". The format should be as follows for the code to run properly: [{ "context":"This is the content of the JSON", "question":"What is question?" } ]
- Once that is done, you need to run "npm run dev".
- You can now access the website at http://localhost:3000/static/ from chrome.
- Enter your Long and Short Answer there and press submit.
- All the content will be saved in outputData.json.