Julia Script running with SQL datas


I’m currently working on a web app for a college. In this app, students have to rank a list of classes (front in React). Datas and rankings are send to a Node.js - MySQL - Sequelize backend, and we found a .jl algorithm that maximize students’ satisfaction.

We want to add a route in the backend and run the algorithm when all the students sent their choices. How can we do that?

Thank you in advance !

Write the data out to a csv file, and shell out to julia from your NodeJS application? Might be the simplest way to do this.

1 Like

Maybe HTTP.jl can create a algorithm server for you.

Problem with HTTP.jl is that it’s not ready for production…

How do you do this? With shelljs?

No, Child process | Node.js v18.8.0 Documentation