Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

ipko1996/zona-api-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍽️ Zona API

The "API" was created for the Zóna restaurant in Veszprém, which processes and serves the weekly uploaded pictures on Facebook in a table or JSON format.

🐍 Prerequirements

Good to know

  • selinium (used for scraping)
  • EasyOCR (creating text from image)
  • FastAPI (python api framework)
  • 42 is always a good answer

Install

git clone https://github.com/ipko1996/zona-api.git
cd zona-api

create a virtual python environment

pip install -r requirements.txt

Crete your .env file (I used mongodb atlas for the database)

cp .env.example .env

Install separately

pip install git+https://github.com/JaidedAI/EasyOCR.git

🦄 Run

uvicorn main:app --reload

Go to

  • /docs - swagger 📜
  • / - an apple 🍎
  • /weekly_meal - the menu in json format
  • /weekly_meal/table - a nice table like format for the humans 🙆