15
Building an Open Source API Server (mobile back ends) in Node.js Shubhra Kar Feb 2014

Meetup : Building an OpenSource API Server with Node.js

Embed Size (px)

DESCRIPTION

StrongLoop's presentation slides that were shared during the API development with Node.js meetup organized by Hacker Dojo. Video is available at : http://youtu.be/DG8W33U6f9M About 25 mins or so. Talk is about the evolution and building a mature 2nd Generation API server using Node.js and OpenSource platforms and providing a Full - Stack JavaScript solution for mobile Web and Hybrid multi - channel / multi - platform projects.

Citation preview

Page 1: Meetup : Building an OpenSource API Server with Node.js

Building an Open Source API Server(mobile back ends) in Node.js

Shubhra Kar Feb 2014

Page 2: Meetup : Building an OpenSource API Server with Node.js

Evolution of application development and service models

AppServerDC

AppServer IaaS

PaaSmBaaS

API Server

Speed of Development

Cost, Control, Data

Page 3: Meetup : Building an OpenSource API Server with Node.js

1st Generation mBaaS - Parse, StackMob, Kinvey, Apigee(UG), etc

mobile/web clients

social & analytics

JSON APIREST API

APIXMLSQL

SOAPEtc.

mBaaS

API tier(Java, Ruby, PHP, C#)

MongoDB, mySQL

tunnels

Enterprise

Page 4: Meetup : Building an OpenSource API Server with Node.js

LoopBack: Industry’s 1st Open source (Node.js) private API Server

Enterprise – On Premises

Page 5: Meetup : Building an OpenSource API Server with Node.js

It’s fast and steady ! : 0-60 in a mature sprint

curated modules, support, access to Core teamprivate registry, audit, whitelisting, certification

API Tier

Tools &

platform

Page 6: Meetup : Building an OpenSource API Server with Node.js

Marquee Features

Mobile SDKs Pre-Built Mobile Services ORM – no SQL

Enterprise ConnectorsAuto API Engine API Security & Mgmt.

Page 7: Meetup : Building an OpenSource API Server with Node.js

Sample backend services creation in loopback

Page 8: Meetup : Building an OpenSource API Server with Node.js

How it works – Create or select multiple data sources

Page 9: Meetup : Building an OpenSource API Server with Node.js

How it works – Data discovery & relationship modeling

Page 10: Meetup : Building an OpenSource API Server with Node.js

How it works – JSON API generation

Page 11: Meetup : Building an OpenSource API Server with Node.js

How it works – API security configuration

Page 12: Meetup : Building an OpenSource API Server with Node.js

Automatic Data modeling and REST API publishing

Page 13: Meetup : Building an OpenSource API Server with Node.js

Mobile SDKs (iOS SDK sample) for remotable integration

Page 14: Meetup : Building an OpenSource API Server with Node.js

Realizing a full-stack JavaScript solution

Project

UX Design

Develop

Mobile App Test / Emulation

Create ScaffoldingDefine base CSS Define componentsUse JS widgets

Create Scaffolding Define ModelsDefine ControllersDefine Views

Compile and Build

Define Filters

User

Device

FileGeoLocationNotification

Define DirectivesConfigure Routes

Model the Data

Generate REST API

Connect to Data-sources (Oracle, SOAP, Mongo)

Setup Services

Debug

Generate Deployable App

Monitor frontend performance

Optimize (Log Analytics & scale)

Profile client-side

Configure API Security

Mobile App Mgmt.

Create UI & styling Arch. & binding Access Native Integrate Existing Data and Services

mBaaS Test / Emulation

Profile server-side

Deploy to local/PaaS

Monitor backends performance Optimize (Usage Analytics, Crash

Reporting )

BLE

Page 15: Meetup : Building an OpenSource API Server with Node.js

What’s next ?

Visit the StrongLoop website to learn more about Node and mobile

http://strongloop.com

Open Source API tier (Loopback) http://strongloop.com/mobile-application-development/loopback/

Operations (StrongOps) http://strongloop.com/node-js-performance/strongops/

Install StrongLoop in a few simple steps to get started http://strongloop.com/get-started/