GithubHelp home page GithubHelp logo

isabella232 / fs-sample-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from familysearch/fs-sample-app

0.0 0.0 0.0 105 KB

Sample app for getting started with the FamilySearch API

License: MIT License

HTML 18.73% JavaScript 81.27%

fs-sample-app's Introduction

FS API Sample App

A sample app for getting started with the FamilySearch API. The app uses the fs-js-lite SDK to show how to perform basic API operations such as authentication and loading the current user's person.

This app is not intended to be an example of best practices for the web.

Try It Out

We will use Glitch to copy the sample app into an online development environment so that you can run and modify the sample app without installing anything.

  1. Follow the Getting Started Guide to create a developer account and register an app. You can name the app anything you want. We recommend it be descriptive, such as "Sample App." For the redirect URI, just put "http://localhost". We will change that later.

    Create app

  2. Click the "Remix on Glitch" button below to have the sample app automatically imported into Glitch with an editor and environment ready to go.

    Remix on Glitch

  3. Click the "Show" button at the top to preview the app. Your app will be available at URL of the form https://[RANDOM_APP_NAME].glitch.me/. For example, https://wiry-bass.glitch.me/.

    Glitch preview

  4. In the FamilySearch developer center, update the registered redirect URI of your app, from step 1 above, to match the glitch.me URL of your app.

    Update redirect URI

  5. In the Glitch editor, open index.js.

  6. Modify the value of APP_KEY to match the app key generated in step 1 above.

  7. Modify the value of REDIRECT_URI to match the glitch.me URL of your app.

    Update code

  8. Run the app again. You can now login with FamilySearch and see it load your integration user's current person.

fs-sample-app's People

Contributors

justincy avatar

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.