Java REST API using Spring Boot Framework exposing CRUD methods via HTTP to manage market surveys.
Persistence with MongoDB (db/collection: surveys)
-
Main URL: http://localhost:8080/api/v1/
-
API documentation and tests: http://localhost:8080/swagger-ui.html
-
API Methods:
- Create/Add (POST): create new market survey and add it to the surveys list
- Retrieve/Get (GET):
- Get full list of market surveys: http://localhost:8080/api/v1/surveys/
- Get details of surveys related to some subject: http://localhost:8080/api/v1/surveys//
- Update (PUT): modify values of survey item with surveyId=N
- Delete (DELETE): delete survey item with surveyId=N