Esri ArcGIS JS API + React + Redux
Detailed documentation can be found on the wiki: https://github.com/Esri/esri-react-boot/wiki
Features
- Ready to deploy React application
- Loads Esri's ArcGIS JS API
- Map component that supports 2D/3D
- Built in Authentication with ArcGIS REST JS
- Includes Calcite-React with UI examples
Tech
This project uses a number of open source libraries. We encourage you to become familiar with these libraries before you begin here.
Library | Source |
---|---|
React | https://reactjs.org/ |
Redux | https://redux.js.org/ |
Create-React-App | https://facebook.github.io/create-react-app/ |
Redux-Saga | https://github.com/redux-saga/redux-saga |
esri-loader | https://github.com/Esri/esri-loader |
ArcGIS JS API | https://developers.arcgis.com/javascript/ |
ArcGIS REST JS | https://github.com/Esri/arcgis-rest-js |
Styled-Components | https://www.styled-components.com/ |
Calcite-React | https://github.com/Esri/calcite-react |
Usage
The project utilizes Node & Node Package Manager to install dependencies and run a local development server. As part of Create-React-App you'll need to install Node (includes NPM) before you can run the Esri-React-Boot:
- Node - https://nodejs.org/en/
Installing
Clone the repository and install the dependencies:
$ npm install
Running
Build and run live server:
$ npm start
- defaults to http://localhost:3000
Issues
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Contributing
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Licensing
Copyright 2019 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license.txt file.