/openaedmap-frontend

Primary LanguageJavaScriptMIT LicenseMIT

Open AED Map

This project shows Automated External Defibrillators (AED) location on a map. Site is integrated with OpenStreetMap reading data from OSM and allowing to add AED location to OSM.

This is a rewrite of the first version to React. Development is in progress.

Development

Gitflow

Branches:

  • main - for prod environment
  • dev - for dev environment

Create branch off of dev branch and when finished make PR back to dev branch.

Local environment

  1. Clone repo and open terminal in the project directory
  2. Install Node version 18 or use Node version manager
  3. Run npm install

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.

See the section about deployment for more information.

Data source

Map and AED locations are from OpenStreetMap

Libraries used

This project was bootstrapped with Create React App.