pub async fn make_client(server: &str) -> Client
Expand description

Creates a client connection to the MongoDB service, and panics if the connection could not be established.

This function needs the server endpoint for the MongoDB service.