Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 557 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 557 Bytes

basic-point-map

Node HTTP api to serve a single geojson point to a leaflet client

Local setup instructions

API setup

  • Navigate to api directory: cd api
  • Install Node version listed in .nvmrc file
    • (Recommend managing node versions with nvm)
    • If using nvm, run nvm install to use correct node version
  • Start the api server: npm run start:dev

Client setup

  • Copy the full path to the index.html file within the client directory
  • Paste the full path into a web browser