Sextant is a web app that allows you to view GeoJSON features, manage feature properties and store the modifications.
You can see a live demo of Sextant here.
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 lineREACT_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.
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.