Simple REST service for getting user feedback
This REST service will receive user feedback and provide list of previous entries.
- userfeedback/rest/feedback GET List of all entries
- userfeedback/rest/feedback/{search} GET List of entries where name matches with search string
- userfeedback/rest/feedback POST Feedback details, accepting parameters name and content
All in JSON format
Its java web app, you can deploy on Tomcat or any other container. In root url there is simple client for testing. There is also Main class in test folder. If you run it, it runt simple server for testing.
Build using maven
mvn clean install
Tests will run server on port 8080. Test might fail if port is in use.
To build without tests
mvn clean install -Dmaven.test.skip=true
Result is in target folder