Quadratic equation logic built with Node Red and exposed as API service. App built with express.js that uses the service have two data sources:
Mongo database
- HTML file that contains equations and parsed with
puppeteer
To run the example you need to have Docker
and Docker Compose
installed.
To build the example with Docker Compose you need to run (choose production or development version):
docker-compose -f docker-compose.{prod|dev}.yml build
To run example you need to start all services provided by Docker Compose:
docker-compose -f docker-compose.{prod|dev}.yml up
Then you can access the app via http://0.0.0.0:8080, to get access to Node Red editor use http://127.0.0.1:1880.
Published for educational purpose.