Migrating a project from mongodb to postgresql

I am currently working on a node.js project and I need to change the database of the project mongodb to postgresql. Actually I am a bit confused about how to start and proceed. What you can suggest and what can be a good starting point? If you have any experience, I'm glad to learn them..