RESTful Retool server configuration

In order to automate my Retool setup in isolated staging/prod environments I think a REST API would be ideal. I would also use this to get Retool into my DR plan.

I had another idea for a resource server that is Retool-aware, which would send Retool a Resource definition at startup. This would let Resource changes follow the implementing app from through dev/staging/production.

It might look something like this:

  1. Retool license key and admin user credential provided through environment at container launch time
  2. Using admin credential, POST JSON the rest of the user database
    2a. Using admin credential, POST JSON Resources
    2b. Using admin credential, POST JSON Query Library
    2c. Using admin credential, POST JSON Modules
    2d. Using admin credential, POST JSON Apps