Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 3.57 KB

README.md

File metadata and controls

85 lines (56 loc) · 3.57 KB

Welcome to Store Locator 👋

Version Documentation Maintenance License: ISC

About


This is A Simple Store (actually any place) Locator.

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.

Install


git clone https://github.com/N-liraj-khanna/Store-Locator-GeoJSON.git

cd Store-Locator-GeoJSON/

npm install

Setup/Config - dotenv

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 ...

Screenshots


1.png

2.png

Built Using


  • 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.

Author


👤 N Liraj Khanna

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 N Liraj Khanna.
This project is ISC licensed.