Skip to content

Weapon-X6/GluEckWein

Repository files navigation

example branch parameter codecov

GlückWein

A RESTful API for wines using Full-Text Search

Features

  • Supports pagination, filtering, ranking, and highlighting
  • Also offer suggestions for misspelled words
  • Provides a Postgres API along with a more advanced Elasticsearch API
  • React client use E2E testing (Cypress)

Up & Running

First run

docker-compose up -d --build

Then load fixtures --you should see something like: Installed 150930 object(s) from 1 fixture(s)

docker-compose exec server python manage.py loaddata wines.json --format=json

And finally, update mapping

docker-compose exec server python manage.py elasticsearch

Then you can use it through the React client at http://localhost:3000/

React client|666x430

You can also use the API directly either using: