This application is built focused on API requests, fetching data and rendering it appropriately. This application simply just takes in an ID or a Title as you wish and the address of any place as you need and store it in the MAP in home page. With the address, it finds it's coordinates (Latitude/Longitude) using Node-Geocoder Package, and with the coordinates it plots it in the MAP using MapQuest API, and that is being stored in the database, which can be used to locate the required location easily.
Note: The ID/Title should not clash/be same as any previously saved locations.
🏠 Homepage
git clone https://github.com/N-liraj-khanna/Store-Locator-GeoJSON.git
cd Store-Locator-GeoJSON/
npm install
Get the APIKEY from MAPQUEST, set it in .env file
Create a cluster in MongoDB locally/Through cloud, configure that also in your .env file.
YOU'RE GOOD TO GO ...
- Cors - CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.
- dotenv - Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.
- express - Fast, unopinionated, minimalist web framework for Node JS.
- mongoose - Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.
- node-geocoder -Node library for geocoding and reverse geocoding. Can be used as a nodejs library.
👤 N Liraj Khanna
- Website: https://github.com/N-liraj-khanna
- Github: @N-liraj-khanna
- LinkedIn: @https://www.linkedin.com/in/n-lirajkhanna/
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2021 N Liraj Khanna.
This project is ISC licensed.