Skip to content

mateoSerna/playvox-workflow

Repository files navigation

Playvox Workflow

Tools

  • Backend: Flask + mongodb

Run stack

docker-compose -f docker-compose.yml up

Now you can see the services running:

The endpoint to create a new user:

POST http://127.0.0.1:5000/users/
Sending the body in JSON format: {"user_id": "105398891", "pin": 2090}

The endpoint to list all users:

GET http://127.0.0.1:5000/users/

The endpoint to start a new workflow:

POST http://127.0.0.1:5000/workflow/
Sending the body in Multipart form: {"workflow": <workflow.json>}

To connect to the database:

* User: playvox
* DB: playvox
* Password: playvox
* Host: 127.0.0.1
* Port: 27017

To execute the tests:

$ python -m unittest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published