- Clone this repository:
git clone https://github.com/hendisantika/SpringBootElasticSearch.git
- Go to the folder:
cd SpringBootElasticSearch
- Run the application:
mvn clean spring-boot:run
- Open your favorite browser: http://localhost:9200
Save Document
POST http://localhost:8080/save
Retrieved Documents
GET http://localhost:8080/getAll
Retrieved Document By Id
GET http://localhost:8080/find/{id}
Update Document By Id
Delete Document By Id
DELETE http://localhost:8080/delete/{id}
Delete All Documents
DELETE http://localhost:8080/deleteAll