/property_locator_api

Node/Express/Mongo API with GeoJSON location field for property locations. Vanilla JS frontend using the Mapbox Library

Primary LanguageJavaScript

property_locator_api

Property Locator Node/Express/Mongo API with GeoJSON location field for property locations. Simple vanilla JS frontend using the Mapbox Library

Quick Start Intstructions

Add your MONGO_URI and GEOCODER_API_KEY to the "config/config.env" file.

Install dependencies

npm install

Serve on localhost:5000

npm run dev (nodemon) or npm start

Routes

GET /api/v1/stores # Get a property

POST /api/v1/stores # Add a property

body { storeId: "0001", address: "10 main st Boston MA" }