HackEye-Hackathon

Pre-requisites :

  • A PostgreSQL database running on preferably docker.
  • DB containing a table named groceries .

To build and run server :

  • Enter the server's directory : cd Server
  • Build and run the executable : ./build.sh

To build server on docker :

  • Run docker build -t wmgroceries . OR docker pull peekay46/wmgroceries:v1.0
  • Run docker run -d -p 8008:8008 wmgroceries:latest

Scripts

Cleaning Script

  • Download dataset
  • python3 get_items.py <path to csv file> <directory to store resultant files>
  • example
    python3 get_items.py data/ingredients.csv data/
  • NEEDS pandas library to run