how to connect an ionic application to MongoDb

I developed an Ionic application and would like to know how I can transfer the data from my forms to the Mongodb No-SQL database.I would like to use NestJs but frankly I do not know how to do it and I can not find appropriate tutorials.Need help please.Thank you.