- Project now package to a .war file, and run on Tomcat Sever.
- Tomcat version: 8.0.47.
- Download link: https://tomcat.apache.org/download-80.cgi
- Download the FinalProject-Team1.war file from Git repo.
- Move .war file into \apache-tomcat-8.0.47\webapps, and rename it to FinalProject-Team1.war
- Download the data dump (stackoverflow), move the data folder to apache-tomcat-8.0.47\bin
- Server startup:
- Go to apache-tomcat-8.0.47\bin
- windows: > startup.bat
- Linux: $ ./startup.sh
- Go to apache-tomcat-8.0.47\bin
- Web page will be available at: http://localhost:8080/FinalProject-Team1/index.html
- Server shutdown:
- Windows: > shutdown.bat
- LInux: $ ./shutdown.sh
Dummy API for testing: GET: http://localhost:8080/FinalProject-Team1/rest/test/ + [Parameter] Will return: Paramter
Query API: GET: http://localhost:8080/FinalProject-Team1/rest/query/ + [Parameter] Will return: Query Result as JSON string