Skip to content

Latest commit

 

History

History
53 lines (27 loc) · 1.29 KB

README.md

File metadata and controls

53 lines (27 loc) · 1.29 KB

Sextant

Sextant is a web app that allows you to view GeoJSON features, manage feature properties and store the modifications.

Live Demo

You can see a live demo of Sextant here.

Requirements

Node.js v16.16.0 or later

Installation

To get a local copy of Sextant working on your machine, follow these steps

  • Ensure you have installed all the packages specified in the Requirements section.

  • Clone this repository.

    git clone

  • Navigate to project directory.

    cd sextant

  • Install the required packages.

    npm install

  • Create a file named .env.local in the project root and add the following line

    REACT_APP_GOOGLE_MAPS_KEY=<REPLACE THIS WITH YOUR GOOGLE MAPS API KEY>

  • Start the development server.

    npm start

  • Open http://localhost:3000 to view it in your browser.

Automated Testing

To run the automated tests, perform the Installation and execute the following steps

  • Navigate to project directory.

    cd sextant

  • Start the test watched.

    npm test

For the sake of time, I've only included five test files to demonstrate familiarity with jest testing. This includes two components, one hook, one plain javascript function and one smoke test.