Skip to content

Commit

Permalink
Merge pull request #17 from tomwayson/docs/readme
Browse files Browse the repository at this point in the history
Docs/readme
  • Loading branch information
tomwayson authored Feb 1, 2019
2 parents 8ec6282 + ab2d620 commit b1d59c8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# next-arcgis-app
An ambitious ArcGIS application built with Next.js

An example of how to use the [ArcGIS] platform in an application built with [Next.js].

![App screenshot](./screenshot.png)

[View it live!](https://next-arcgis-app.now.sh/)

This application uses [arcgis-rest-js](https://esri.github.io/arcgis-rest-js/) to authenticate users and search for items and the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/) (via [esri-loader]) to show the extents of those items on a map.

This is a [React] port of [ambitious-arcgis-app-2018](https://github.com/mjuniper/ambitious-arcgis-app-2018/). See that repository for more information on the motivation behind this application.

See [create-arcgis-app](https://github.com/tomwayson/create-arcgis-app) a port of the same application built with [create-react-app](https://facebook.github.io/create-react-app/) instead of Next.js.

See the [Next.js documentation](https://nextjs.org/docs#how-to-use) for more information on how to run this application locally after cloning the repository.

[next.js]: https://nextjs.org/
[arcgis]: https://www.arcgis.com/
[esri-loader]: https://github.com/Esri/esri-loader
[react]: https://reactjs.org/
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-arcgis-app",
"version": "1.0.0",
"description": "An ambitious ArcGIS application built with Next.js",
"description": "An example of how to use the ArcGIS platform in an application built with Next.js.",
"main": "index.js",
"scripts": {
"copy:auth": "cp ./node_modules/@esri/arcgis-rest-auth/dist/umd/auth.umd.min.js ./static/auth.umd.min.js",
Expand All @@ -12,7 +12,9 @@
"prestart": "npm run copy:auth",
"start": "next start",
"test": "jest",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"predeploy": "npm run lint && npm run test",
"deploy": "now"
},
"repository": {
"type": "git",
Expand Down
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b1d59c8

Please sign in to comment.