Aim is to have in-built support for talking to GeoQuery.
Tasks
[ ] Implement a GeoLocationService in packages/common/services
[ ] getLocationFromIP
[ ] getLocationFromLatLong
[ ] Implement a GeoLocationMiddleware which intercepts a request and adds the location information based on the passed parameters which can either be lat/long or the IP of the request
[ ] Implement location based Guards using this
[ ] Implement GeoLocationModule which easily exports all the components built above
[ ] Move the GeoIPInterceptor to use this service.
Description
Aim is to have in-built support for talking to GeoQuery.
Tasks
GeoLocationService
inpackages/common/services
getLocationFromIP
getLocationFromLatLong
GeoLocationMiddleware
which intercepts a request and adds the location information based on the passed parameters which can either be lat/long or the IP of the requestGeoLocationModule
which easily exports all the components built aboveGeoIPInterceptor
to use this service.