Node HTTP api to serve a single geojson point to a leaflet client
- Navigate to api directory:
cd api
- Install Node version listed in .nvmrc file
- (Recommend managing node versions with nvm)
- If using
nvm
, runnvm install
to use correct node version
- Start the api server:
npm run start:dev
- Copy the full path to the
index.html
file within theclient
directory - Paste the full path into a web browser