Synchronize PostgreSQL and MongoDB using Node.js