/worldwines

Search information about the wines of the world. Backend in C++ and frontend in ReactJS.

Primary LanguageC++

[UNDER CONSTRUCTION - WORK IN PROGRESS]

WorldWines AI Search Engine

Search among the most important wines of the planet to obtain interesting information and reviews.

Screenshots

screenshot screenshot

Tech

ChatGPT AI, C++ for the rest backend, React JS for the front-end and SQLite for the database.

API

The backend must be configured by a config file in backend/config/config.env, but command line arguments may also be implemented eventually.

Test coverage

Dependencies

  • If compiling with Archlinux: yay -S cpprestsdk
  • If compiling with Debian based: apt install libcpprest-dev

Endpoints implemented

  • /wines Retrieve wines (max 500 entries)
  • /wine/:wine_id Retrieve a wine with a given id
  • /countries Retrieve list of countries in the DB
  • /country/:country Retrieve wines for a given country
  • /varieties Retrieve list of wine varieties in the DB
  • /variety/:variety Retrieve wines for a given variety
  • /wineries Retrieve list of wineries in the DB
  • /winery/:winery Retrieve wines for a given winery
  • /search/:search_string Searches the db for a given string

Database

sqlite3

Unit test

https://github.com/catchorg/Catch2

Front-End

Autocomplete no input principal (next version?)

Docker

Dataset and License

id,country,description,designation,points,price,province,region_1,region_2,taster_name,taster_twitter_handle,title,variety,winery

[UNDER CONSTRUCTION - WORK IN PROGRESS]