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

Dev summit 2019 demos #481

Merged
merged 13 commits into from
Mar 29, 2019
Merged

Dev summit 2019 demos #481

merged 13 commits into from
Mar 29, 2019

Conversation

patrickarlt
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 6, 2019

Codecov Report

Merging #481 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #481   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          95     95           
  Lines        1214   1214           
  Branches      225    225           
=====================================
  Hits         1214   1214

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9ad63d...ec20da5. Read the comment docs.

Copy link
Contributor

@jgravois jgravois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i pushed up a few copyedits, but in general, these look great.

the CLI app ran on my machine fine, but i encountered an error trying to run the sapper app. any ideas?

john6251 at Frink in ~/github/arcgis-rest-js/demos/webmap-checker-sapper on pa-dev-summit-2019-demos [!]
$ npm run dev

> sapper-webmap-checker@1.17.1 dev /Users/john6251/github/arcgis-rest-js/demos/webmap-checker-sapper
> sapper dev

• server
'request' is imported from external module '@esri/arcgis-rest-request' but never used
'loadModules' and 'loadCss' are imported from external module 'esri-loader' but never used
✔ client (1.1s)
✔ service worker (20ms)
Thu, 07 Mar 2019 18:06:35 GMT express-session deprecated req.secret; provide secret option at __sapper__/dev/server/server.js:3389:5
> Listening on http://localhost:3000
Error: secret option required for sessions
    at session (/Users/john6251/github/arcgis-rest-js/demos/webmap-checker-sapper/node_modules/express-session/index.js:199:12)
    at Layer.handle [as handle_request] (/Users/john6251/github/arcgis-rest-js/demos/webmap-checker-sapper/node_modules/express/lib/router/layer.js:95:5)

@patrickarlt
Copy link
Contributor Author

@jgravois I've updated the read me for the sapper demo to explain the config which was git ignored. I also added a bunch of doc explaining auth. I also updated the code a bit and added some more comments.

@jgravois
Copy link
Contributor

awesome @patrickarlt! i just pushed up a few more typo fixes of my own.

it took me a couple minutes to figure out, but i had to remove the trailing slash from the redirect URI you were suggesting in the README in order to resolve the route that Sapper is creating on the fly from post-sign-in.js.

REDIRECT_URI=http://localhost:3000/auth/post-sign-in

@jgravois jgravois merged commit 9d79fe0 into master Mar 29, 2019
@jgravois jgravois deleted the pa-dev-summit-2019-demos branch March 29, 2019 22:41
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

Successfully merging this pull request may close these issues.

2 participants