Using OSM data on serverside with nodejs

Hello,

I am a developer and new in OSM.

I want to develop a web app which will show a heat map based on distance of OSM elements with some tags.

What is the best way to do it? Which frameworks, tools and which DB’s should I use?

  • I do not want to use client side api’s which bring me set of features based on given tags in a given region.
  • And If possible I want to use nodejs.
  • I tried downloading pbf files and transferring them into MongoDB in GeoJSON format. But it failed because of 2dSphere index’s filtered many features on importing.

Thanks for your help,