build a rest api for your mobile apps using node.js
TRANSCRIPT
![Page 1: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/1.jpg)
BUILD A REST API FOR YOUR MOBILE APPS WITH NODE.JS
Edward Jiang
![Page 2: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/2.jpg)
HI, I’M EDWARD!
@EdwardStarcraftDeveloper Evangelist @goStormpath
![Page 3: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/3.jpg)
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
![Page 4: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/4.jpg)
USERS STORMPATH INTEGRATIONS
![Page 5: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/5.jpg)
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 ! )
![Page 6: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/6.jpg)
![Page 7: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/7.jpg)
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
![Page 8: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/8.jpg)
TOOLS
![Page 9: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/9.jpg)
LET’S START BUILDING!
![Page 10: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/10.jpg)
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
![Page 11: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/11.jpg)
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]
![Page 12: Build a REST API for your Mobile Apps using Node.js](https://reader033.vdocuments.net/reader033/viewer/2022051101/587821cc1a28aba12d8b6a3b/html5/thumbnails/12.jpg)
QUESTIONS?