Skip to content

Learn how to create rest api using springboot and do search data to elastic search

Notifications You must be signed in to change notification settings

denitiawan-repo/springboot-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Rest API using Springboot and MongoDB

Introduction

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

Requirements

  • Maven 3+
  • Java 8+
  • IDE Intelij
  • Docker
  • Elastic Search (Docker Container)
  • Postman

Dependency

  • Lombok
  • Elastic Search Driver
  • Spring Data JPA
  • Spring Web

Postman Api Collection

  • project/document/postman-collection/medium/springboot-api-collection.postman_collection.json

Docker Compose file

  • project/document/server/docker-compose.yml

Notes

  • project/document/server/notes.md

APis

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

About

Learn how to create rest api using springboot and do search data to elastic search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages