Microservice for handling work orders and when are done send event through Redis streams
Work order REST API
git clone https://github.com/Edmartt/WorkOrders.git
cd WorkOrders/
python -m venv <virtual-environment-name>
source <virtual-environment-name>/bin/activate
pip3 install -r requirements
source .envrc
Remember to set a .env file for docker-compose and run docker-compose up -d
for creating a postgres instance
We need migrations for our data models
flask db upgrade
flask run
For requesting the api docs after running the project just go to /api/docs