SlideShare a Scribd company logo
BUILD A REST API FOR YOUR MOBILE
APPS WITH NODE.JS
Edward Jiang
HI, I’M
EDWARD!
@EdwardStarcraft
Developer Evangelist @goStormpath
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
USERS STORMPATH INTEGRATIONS
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 ! )
Build a REST API for your Mobile Apps using Node.js
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
TOOLS
LET’S START BUILDING!
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
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 support@stormpath.com, or edward@stormpath.com
QUESTIONS?

More Related Content

PPTX
REST API Security: OAuth 2.0, JWTs, and More!
PPTX
Spring Boot Authentication...and More!
PPTX
Secure rest api on microservices vws2016
PDF
Exposing Salesforce REST Services Using Swagger
PPTX
HTTP Services & REST API Security
PDF
O365Con18 - Connect SharePoint Framework Solutions to API's secured with Azur...
PDF
SPUnite17 Who Are You and What Do You Want
PPTX
Best Practices for API Security
REST API Security: OAuth 2.0, JWTs, and More!
Spring Boot Authentication...and More!
Secure rest api on microservices vws2016
Exposing Salesforce REST Services Using Swagger
HTTP Services & REST API Security
O365Con18 - Connect SharePoint Framework Solutions to API's secured with Azur...
SPUnite17 Who Are You and What Do You Want
Best Practices for API Security

What's hot (20)

PDF
Picking the Right Node.js Framework for Your Use Case
PDF
Building Mobile Apps With Ionic & Loopback
PPTX
Everybody loves Swagger
PPTX
Introducing Swagger
PDF
Developing Faster with Swagger
PPTX
Stormpath 101: Spring Boot + Spring Security
PPTX
Making your API behave like a big boy
PDF
Swagger UI
PPTX
Rest API with Swagger and NodeJS
PPTX
Hacking Tizen : The OS of Everything - Nullcon Goa 2015
PDF
StrongLoop Node.js API Security & Customization
PDF
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
PDF
Restful api design
PPTX
Document your rest api using swagger - Devoxx 2015
PPTX
Spring Security
PDF
Javacro 2014 Spring Security 3 Speech
PDF
Securing java web applications
PDF
Vaadin codemotion 2014
PDF
Spring Security
Picking the Right Node.js Framework for Your Use Case
Building Mobile Apps With Ionic & Loopback
Everybody loves Swagger
Introducing Swagger
Developing Faster with Swagger
Stormpath 101: Spring Boot + Spring Security
Making your API behave like a big boy
Swagger UI
Rest API with Swagger and NodeJS
Hacking Tizen : The OS of Everything - Nullcon Goa 2015
StrongLoop Node.js API Security & Customization
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
Restful api design
Document your rest api using swagger - Devoxx 2015
Spring Security
Javacro 2014 Spring Security 3 Speech
Securing java web applications
Vaadin codemotion 2014
Spring Security
Ad

Viewers also liked (20)

PDF
Building Beautiful REST APIs with ASP.NET Core
PDF
Getting Started With Angular
PDF
The Ultimate Guide to Mobile API Security
PPTX
Beautiful REST+JSON APIs with Ion
PPTX
Custom Data Search with Stormpath
PDF
JWTs in Java for CSRF and Microservices
PPTX
Instant Security & Scalable User Management with Spring Boot
PPTX
Multi-Tenancy with Spring Boot
PPTX
Secure Your REST API (The Right Way)
PPTX
Building Web Apps & APIs With Node JS
PPTX
Elegant Rest Design Webinar
PPTX
Build A Killer Client For Your REST+JSON API
PDF
Building Beautiful REST APIs in ASP.NET Core
PPTX
JWTs for CSRF and Microservices
PPTX
Storing User Files with Express, Stormpath, and Amazon S3
PDF
Mobile Authentication for iOS Applications - Stormpath 101
PPTX
Token Authentication in ASP.NET Core
PDF
Securing Web Applications with Token Authentication
PPTX
Token Authentication for Java Applications
PPTX
Browser Security 101
Building Beautiful REST APIs with ASP.NET Core
Getting Started With Angular
The Ultimate Guide to Mobile API Security
Beautiful REST+JSON APIs with Ion
Custom Data Search with Stormpath
JWTs in Java for CSRF and Microservices
Instant Security & Scalable User Management with Spring Boot
Multi-Tenancy with Spring Boot
Secure Your REST API (The Right Way)
Building Web Apps & APIs With Node JS
Elegant Rest Design Webinar
Build A Killer Client For Your REST+JSON API
Building Beautiful REST APIs in ASP.NET Core
JWTs for CSRF and Microservices
Storing User Files with Express, Stormpath, and Amazon S3
Mobile Authentication for iOS Applications - Stormpath 101
Token Authentication in ASP.NET Core
Securing Web Applications with Token Authentication
Token Authentication for Java Applications
Browser Security 101
Ad

Similar to Build a REST API for your Mobile Apps using Node.js (20)

PDF
Swagger / Quick Start Guide
PPTX
RESTful web APIs (build, document, manage)
PPTX
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
PDF
Cloud Native Identity with SPIFFE
PPTX
How to Use Stormpath in angular js
PDF
Aws Technical Day 2015 - Amazon API Gateway
PDF
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
PPTX
Swagger - make your API accessible
KEY
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
KEY
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
PDF
Api fundamentals
PPTX
Webinar: Embracing REST APIs through APPSeCONNECT
PDF
Api FUNdamentals #MHA2017
PDF
AWS Serverless API Management - Meetup
PPTX
API designing with WSO2 API Manager
PPTX
Developing Apps with Azure AD
PDF
WSO2 Product Release Webinar - WSO2 API Manager 1.9
PDF
Java Test Automation for REST, Web and Mobile
PPTX
Single Page Applications - Where Security Goes to Die
PDF
Swagger / Quick Start Guide
RESTful web APIs (build, document, manage)
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
Cloud Native Identity with SPIFFE
How to Use Stormpath in angular js
Aws Technical Day 2015 - Amazon API Gateway
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Swagger - make your API accessible
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Extend Your Use of JIRA by Solving Your Unique Concerns: An Exposé of the New...
Api fundamentals
Webinar: Embracing REST APIs through APPSeCONNECT
Api FUNdamentals #MHA2017
AWS Serverless API Management - Meetup
API designing with WSO2 API Manager
Developing Apps with Azure AD
WSO2 Product Release Webinar - WSO2 API Manager 1.9
Java Test Automation for REST, Web and Mobile
Single Page Applications - Where Security Goes to Die

More from Stormpath (7)

PPTX
Secure API Services in Node with Basic Auth and OAuth2
PPTX
Building Secure User Interfaces With JWTs (JSON Web Tokens)
PPTX
Rest API Security
PPTX
Build a Node.js Client for Your REST+JSON API
PPTX
So long scrum, hello kanban
PPTX
REST API Design for JAX-RS And Jersey
PPTX
Design Beautiful REST + JSON APIs
Secure API Services in Node with Basic Auth and OAuth2
Building Secure User Interfaces With JWTs (JSON Web Tokens)
Rest API Security
Build a Node.js Client for Your REST+JSON API
So long scrum, hello kanban
REST API Design for JAX-RS And Jersey
Design Beautiful REST + JSON APIs

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Empathic Computing: Creating Shared Understanding
PDF
KodekX | Application Modernization Development
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation theory and applications.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
Empathic Computing: Creating Shared Understanding
KodekX | Application Modernization Development
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Building Integrated photovoltaic BIPV_UPV.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Spectral efficient network and resource selection model in 5G networks
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation theory and applications.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation_ Review paper, used for researhc scholars

Build a REST API for your Mobile Apps using Node.js

  • 1. BUILD A REST API FOR YOUR MOBILE APPS WITH NODE.JS Edward Jiang
  • 3. 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
  • 5. 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 ! )
  • 7. 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
  • 10. 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
  • 11. 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 support@stormpath.com, or edward@stormpath.com