Skip to content

365cent/ai-store-search-cpp

Repository files navigation

HOP.cheap

Shop without Search, hop in shopping experience.

[Hop is cross-platform nested API based search engine powered by Crow Framework (Crowcpp/v1.0+5)]

Live Demo

Main stream:

Dev servers: (Only available when developers run the project)

  • dev.hop.cheap
  • dev-f.hop.cheap
  • dev-o.hop.cheap
  • dev-t.hop.cheap
  • dev-x.hop.cheap

Task automation file:

.vscode/launch.json

Dependencies

  • gcc
  • boost
  • cmake
  • libcurl
  • Crowcpp/v1.0 or higher
  • nlohmann_json/v3.0 or higher
  • libmysqlcppconn-dev/v1.1 or higher

APIs

How to Install

MacOS

Install Homebrew (if not already installed)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install dependencies

brew install gcc boost libcurl cmake nlohmann_json mysql-connector-c++

Linux

apt based

Update package lists

sudo apt-get update

Install dependencies

sudo apt-get install -y gcc libboost-all-dev libcurl4-openssl-dev cmake nlohmann-json-dev libmysqlcppconn-dev

yum based

Update package lists

sudo yum update

Install dependencies

sudo yum install -y gcc boost-devel libcurl-devel cmake nlohmann-json-devel mysql-connector-c++

arch based

Update package lists

sudo pacman -Syu

Install dependencies

sudo pacman -Syu gcc boost curl cmake jsoncpp mariadb-connector-c++

How to RUN

Press F5 to run the project in VSCode

The server will be available at http://localhost:8080

Or go to our live demo

https://hop.cheap

Manually run

cd build
cmake ..
make
./Crow

Class diagram

class-diagram.png

Documentation

Link to documentation (generated by Doxygen)

UI

home-page.png preference-settings trending-api.png login-with-a-random-email.png login-with-github-1.png login-with-github-2.png database-query-result.png database-login-page.png database-dashboard.png database-table.png

Updated UI

voice-input.png record-stop.png result1.png result2.png result3.png

Web Stack

  • Debian 11 Bullseye (OS)
  • Caddy/v2.7.5 (web server)
  • Argo Tunnel (reverse proxy)
  • Cloudflare (DNS/CDN)

Database

  • MariaDB/10.5.22
  • phpMyAdmin/5.0.4

Dashboard (phpMyAdmin): https://db.hop.cheap