On this repo we will learn how to create REST API using Springboot, that apis will have CRUD function for connecting, storing and searching data to Elastic Search.
If you want read the full articles all about this repo, you can see on this article article
- Maven 3+
- Java 8+
- IDE Intelij
- Docker
- Elastic Search (Docker Container)
- Postman
- Lombok
- Elastic Search Driver
- Spring Data JPA
- Spring Web
- project/document/postman-collection/medium/springboot-api-collection.postman_collection.json
- project/document/server/docker-compose.yml
- project/document/server/notes.md
Method | URL APIs | Description | Client |
---|---|---|---|
POST | localhost:8181/api/elastic/product | save or update | Postman |
DELETE | localhost:8181/api/elastic/product/{id} | delete by | Postman |
GET | localhost:8181/api/elastic/product/{id} | search by id | Postman |
GET | localhost:8181/api/elastic/product | search all | Postman |