Open chriswhong opened 6 years ago
I'm thinking about the following flow:
/validate-connection
?), where they are used to create a connection to Postgres. The error or ok status are then returned to the client. If there was an error, that is presented to the user. If the credentials were valid, a POST
request with the credentials is sent to the express app (/save-credentials
?) where they are stored in a JSON file.I think this is a great idea!
Let's make this thing even more user-friendly and just have a modal for the database connection info.
I am not sure how to implement this.
Any ideas?
Here's a connection modal from Franchise we can use for inspiration. We should totally throw in an elephant or two.