So I want to have a map on my website, first when I thought about this I made a google api based map which obviously requires funds and its not useful for my case, then I searched little more and came to openstreetmap, postgis extensions that allow us to export map data into it which later we will query, currently I am on debian distro,
In my head what my approach should be is:
1. download data and export it to postgres database with postgis extension enabled and indexed automatically I had this done before so I know how to do it kind of 2. I should query the data from nodejs server that I will have and send it to the frontend and render it using leaflet or open layers
So actually I did the above thing before but I found it quite difficult it was rendering map with only lines and some data was missing I think I had styling problems which might be difficult.
So please guide me with instructions, I am 17 so I don't really have that much experience especially with maps When I first saw these open source stuff I was like this is completely new world. So any instruction and help would be appreciated thanks in advance.