GithubHelp home page GithubHelp logo

cwhunt / example-orcid-spa Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 449 KB

Example single page application to use the associated Example API to test out the ORCID API.

CSS 0.33% HTML 3.49% JavaScript 96.19%

example-orcid-spa's Introduction

Example ORCID Single Page Application

This is an Example single page application that uses the Example ORCID Application API.

Instructions

  1. Make sure you have node.js and git installed on your machine
  2. In the application folder run $ npm install to install the project dependencies
  3. Install gulp.js via the Mac terminal or Gitbash on a PC $ sudo npm install -g gulp
  4. Run the Gulp command $ gulp or $ gulp prod (sometimes twice to get the right code into the prod build)
  5. View the site at http://localhost:8000

Hosting

To deploy this code to Firebase:

  1. Create a new app in Firebase.
  2. Click "Set up Hosting" for the app
  3. Install Firebase tools if necessary ($ npm install -g firebase-tools or $ sudo npm install -g firebase-tools)
  4. Run $firebase login if necessary and then run $firebase init and choose the app you created
  5. Set builds/prod as the public root
  6. Deploy with $ firebase deploy

Demo

Check out a Sandbox Demo. You can create a new SPA and use the same settings but you'll get redirected to the demo application. To redirect to your new SPA update the site_url part of the redirect_uri part of AUTHORIZE_URL in builds/dev/js/app/app-constants.js. If you create a new version of the Example ORCID Application API you'll need to update the first part of the redirect_uri part of the AUTHORIZE_URL in builds/dev/js/app/app-constants.js.

example-orcid-spa's People

Contributors

cwhunt avatar

Watchers

 avatar

example-orcid-spa's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.