Create absolute minimal HTTP API on top of Abra #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Perhaps the biggest glue area of new Go code which needs to be written is a HTTP API which a web interface can use to control the
abratool. For starters just a subset of the functionality is probably all that's required. The initial use-case, which is just installingparasolon a single server and using that to deploy multiple static-sites on that server.The following are direct commands which would be needed :
server
abra server add <server-domain>abra server remove <server-domain>app
abra app listabra app new parasol-static-siteabra app config <static-website>abra app secret <static-website>abra app remove <static-website>abra app restart <static-website>abra app check <static-website>abra app log <static-website>abra app errors <static-website>Outstanding Questions ❓
Do we do a 1-to-1 mapping of CLI commands to API endpoints? This could be done with some clever programming, but it would likely stray from the Parasol use-case of just deploying and admining static-sites. While it would pave way for more robust Co-op Cloud Web UI for deploying all recipes intuitively 🤔
Assuming our initial use-case, perhaps listing servers with
abra server listis not needed?Perhaps this should be a Desktop App 🤯 muahhahah