forked from jasonrudolph/one-rep-max
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow user to specify the database name
MongoHQ will not allow two different users to have databases with the same name. (This *might* not be the case for paid MongoHQ accounts, but it is the case for the free "sandbox" databases.) Therefore, we cannot hard-code the database name; instead, we need to prompt the user to enter his/her unique database name. - Update UI to prompt user to enter the database name - Inside the :state atom, enhance the :database-configuration to include the database name - For all functions that formerly took the MongoHQ API key as an argument, update those functions to instead take the database configuration map as an argument. (This map includes both the API key and the database name.) - Move clj->js from one.repmax.mongohq to new one.repmax.util namespace - Introduce one.repmax.url-blueprint
- Loading branch information
1 parent
661d7ac
commit 5090de2
Showing
9 changed files
with
197 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.