Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Apps #11

Closed
dbouwman opened this issue Aug 6, 2017 · 7 comments
Closed

Example Apps #11

dbouwman opened this issue Aug 6, 2017 · 7 comments

Comments

@dbouwman
Copy link
Member

dbouwman commented Aug 6, 2017

In order to ensure that the api works for our desired use-cases, I propose we build some simple applications to validate the library.

The following demos seem useful:

  • jquery app
  • dojo app
  • ember js app
  • angular js app
  • react app
  • node cli app

For the browser demos, the app should use oAuth to get a token, then instantiate a session and execute a simple, authenticated search @ AGO.

The node example should take the creds as command-line args, and iterate over all the items the user owns, listing the titles.

At this point, lets keep these as vanilla as possible - just bootstrap + minimal code needed. We can build idiomatic examples down the road.

I'll sign-up to create the arcgis-rest-js-demos repo, and build the jquery, ember and node examples. Need some Dojo/Angular/React people to jump in as well @tomwayson @mjuniper??

@jgravois
Copy link
Contributor

jgravois commented Aug 6, 2017

agreed! I can write one with choo 🚆

it's a _mono_repo, so why not just stick 'em in a /demo folder here?

@patrickarlt
Copy link
Contributor

I'm with @jgravois lets just keep everything in one place. You could just add demos/* to https://github.com/ArcGIS/arcgis-rest-js/blob/master/lerna.json#L4.

@patrickarlt
Copy link
Contributor

patrickarlt commented Aug 7, 2017

I would also add the following server-side oauth 2 examples:

  • Vanilla HapiJS Oauth 2 Server
  • HapiJS + Bell
  • Vanilla Express Oauth 2 server
  • Express + Passport

@patrickarlt
Copy link
Contributor

@dbouwman I'm writing some helper methods for handling oauth so I'll take the jQuery example.

@dbouwman
Copy link
Member Author

dbouwman commented Aug 7, 2017

@jgravois @patrickarlt - sounds great!

@patrickarlt
Copy link
Contributor

I've added the start of a Vanilla JS client side app and a barebones express app in #16.

@jgravois
Copy link
Contributor

more demos/ are always welcome.

patrickarlt added a commit that referenced this issue Jan 25, 2021
initial demographics package (getAvailableDataCollections())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants