A dockerized app built on top of Flask, and SQLAlchemy in Python3 It will create he schema when the server starts. I have also added an endpoint to seed the database.
-
http://127.0.0.1:5000/api/documents/failed_extraction/customerId
-
http://127.0.0.1:5000/api/documents/failed_ingestion_count/customerId
-
- Clone the repository
- Setup .env file
-
python ./app/app.py
-
docker-compose up
- Docker
- Docker Compose
DB_USERNAME=root
DB_PASSWORD=root
DB_HOST=localhost
DB_NAME=docs_db