ArcGIS API for JavaScript Template Application

Usage

This application is written in TypeScript and utilizes the vite.

You can develop, test, and build the application using various commands.

You will need to create an API Key using a free ArcGIS Developer Account.

Add your API Key to a .env file at the root of this project.

VITE_API_KEY=MY-DEVELOPER-API-KEY

Vite will pick up the API Key for use in your application.

Run the application in development mode with a local development server.

npm start

Run the unit tests for the application. Unit tests are written with Jest.

npm test

Build the application for deployment.

npm run build