Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build a REST API for your Mobile Apps in Node

Stormpath
December 08, 2016

Build a REST API for your Mobile Apps in Node

Join Stormpath Developer Evangelist, Edward Jiang, to learn how to build your first REST API using Node.js, and connect it to an iOS or Android app. He’ll cover everything you need to know to about building an API and take you through an example with live code samples.

Ed will cover:
The Basics of Building an API
Adding Authentication to your Mobile API
Token Authentication
Q&A

Stormpath

December 08, 2016
Tweet

More Decks by Stormpath

Other Decks in Technology

Transcript

  1. DEVELOPER TOOLS FOR AUTHENTICATION • Stormpath — Authentication as a

    Service • Web Framework Integrations — Authentication in your web framework of choice • Apache Shiro — Java security framework • JWTK — JWT libraries for JavaScript & Java • Simplicity — Easy social login for iOS • Turnstile — Authentication framework for server-side Swift
  2. TA S K B U I L D A R

    E S T A P I F O R A N O T E TA K I N G A P P ( L I K E E V E R N O T E ! )
  3. API ENDPOINTS • Authentication • POST /register - create a

    user account • POST /oauth/token - get an access token for our API • Application • GET /notes - retrieve the current user’s notes from our API • POST /notes - save the current user’s notes to the API
  4. FINISHED RESULT • Hosted online at https://stormpathnotes.herokuapp.com • GitHub: https://github.com/stormpath/stormpath-express-mobile-notes-example

    • Review this tutorial: https://stormpath.com/blog/tutorial-build-rest-api-mobile-apps- using-node-js
  5. WHAT NEXT? • Try the iOS counterpart: https://stormpath.com/blog/build-note-taking-app-swift-ios • Try

    the Android counterpart: https://stormpath.com/blog/build-user-authentication- for-android-app • Talk to us! Email [email protected], or [email protected]