How to execute flyway scripts upon starting nodejs project?

Viewed 1088

I was using Flyway with SpringBoot and I loved the experience. Everything worked OOTB and scripts were executed upon boot.

I moved to project where we use node.js, typescript and graphql. I would like to use flyway in the same way like in Spring Boot, i.e.

  • Place SQL scripts within project
  • Execute scripts upon starting the server

What would be the way to go?

0 Answers
Related