I completed local parse server and mongodb installation and app is connected through db and working now, but push and cloud code is not working. I do not have any idea where to put the main.js file in my mac. not getting the cloud folder.
please can somebody guide me .
You will have to manually create the folder you want to put your Cloud Code in. The easy way is to crate one in your project's root folder and then update the config you pass to Parse Server to point to that directory.
You can find a basic example with a config that includes the Cloud Code folder in the README of the Parse Server GitHub repo as well.