🍽️ 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.
- selinium (used for scraping)
- EasyOCR (creating text from image)
- FastAPI (python api framework)
- 42 is always a good answer
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 🙆