Nextjs example. Why use next-connect

I found more about aws lambda and mongodb here:

Thanks for the help!