node.js - best practice for modeling local events data and querying results by user's location -
i storing live event data on backend in mongodb using mongoose , using map-based interface on frontend query events in user's area.
what efficient way structure data in order query results based on user's location?
my first approach create event schema location attribute , search results within r radius of user's location feel may inefficient given large database.
Comments
Post a Comment