Skip to content

This project is an example application to demonstrate Cats-Effect integration with Elasticsearch.

License

Notifications You must be signed in to change notification settings

dagdelenmustafa/effectful-search-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EFFECTFUL-SEARCH-SERVICE


This project is an example application to demonstrate Cats-Effect integration with Elasticsearch. For the code base, The Shopping Cart application which developed by Gabriel Volpe was used.


Installation

  • Clone the repository and run the following command:
git clone https://github.com/dagdelenmustafa/effectful-search-service.git
  • Inside the root directory, run the following command:
docker-compose up
  • When you run the applicaiton with docker compose it's automatically creates the related mapping in the elasticsearch.

Usage

  • Http interface only expose two endpoints:

Swagger

  • Product add endpoint requires the following data model in order to create a new product:
  • {
      "product_id": "string",
      "product_url": "string",
      "title": "string",
      "categories": [
        "string"
      ],
      "color": "string",
      "detail_pane": "string",
      "images": [
        "string"
      ],
      "price": "string",
      "price_in_basket": "string",
      "price_new": "string",
      "price_old": "string"
    }
    

About

This project is an example application to demonstrate Cats-Effect integration with Elasticsearch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published