askForMongoDBUrl
talawa-api • Docs
talawa-api / setup/MongoDB / askForMongoDBUrl
Function: askForMongoDBUrl()
> askForMongoDBUrl(): Promise
<string
>
The function askForMongoDBUrl
prompts the user to enter a MongoDB URL and returns the entered URL
as a string.
Returns
Promise
<string
>
a Promise that resolves to a string.