Automatic Pill Dispenser code convert

I have the database work database use Retool | REST API Generator for now
How do I competent the database to use json or MySQL locally?