Skip to main content

askForMongoDBUrl

talawa-apiDocs


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.

Defined in

src/setup/MongoDB.ts:73