A Mini Market Data Bank to show Food Market location
- Live api can be found here https://market-data-backend.herokuapp.com/api
- Live application can be found here https://market-data-frontend.vercel.app
Haversine formula is used to search for nearest market location. Read more about it here
- The base search distance is
25km
. That is, the search algorithm will search for businesses within 25km of the user's location using the Haversine formula
# Install dependencies
$ yarn install
# Copy and rename .env.sample to .env
$ cp .env.sample .env
Create Google API key by following the instructions here
# watch mode
$ yarn start:dev
# production mode
$ yarn start
Api can be accessed via http://localhost:5100 in development environment.