Do I need to license or open source my app?

I am busy building an app that I want to make available to the public.

I will only be using MongoDB community edition as my database, not the MongoDB server, I am coding my own server.

Will I need to open source my server or license the database?