A simple React-based PWA built around NASA's Earth Polychromatic Imaging Camera (EPIC) API, bootstrapped with Node and Create React App.
Installation:
- Ensure the most recent version of Node is installed
- Clone repo from https://github.com/eizengan/epic-explorer.git
- Navigate to project root - all other instructions expect you to be here
- Run
npm install
to install dependencies - this can take a while
Setting API key (optional-ish):
- This project will run with a heavily rate-limited demo key if no API key is provided
- Applications for API keys can be made here, and are processed almost immediately
- To add your API key run
echo "REACT_APP_API_KEY=[YOUR KEY]" > .env.local
(or equivalent)
Testing and running:
- To run all included tests run
npm test
- To start a dev server and begin debugging run
npm start