Loopback.io



Loopback.io

1 0


keynote-loopback

Keynote for Loopback.io @ ngconf-israel 2015

On Github thaiat / keynote-loopback

Loopback.io

The beautiful open source Node.js framework for developing angular isomorphic backend

Presented by Avi  Haiat - thaiat@yoobic.com

Notes:

Russian Kombat

Who am I ?

Who am I ?

Vizelia bought by Schneider Electric in 2011

Yoobic

  • Yoobic is a "Mobile productivity App"
  • Yoobic simplifies short term logistic processes and transform logistic costs into a stream of revenues
  • Yoobic is leveraging crowdsourced workforce and harnessing geolocation technology

The problem: Your apps need data

  • Not authorized (AAA)
  • Combine multiple DBs
  • Too much data
  • Pre / post processing, data validation

The solutions (1/3): MBaaS

The solutions (2/3): MBaaS

The solutions (3/3): Host yourself

  • Express (DIY)
  • Hapi (Configuration)
  • Sails (ORM)
  • Loopback.io (ORM + Isomorphic)

About StrongLoop

  • Created in 2012
  • Founded Serie A
  • Co-founders are main core contributors to Node.js
    • express, node-inspector, node-reggie, etc...

What is Loopback.io ?

  • Built on top of Express
  • Optimized for APIs - Swagger
  • Model Driven Architecture
  • Isomorphic
  • GUI and performance tools

Loopback architecture

Full stack - Isomorphic ?

Web technologies you already know and love

And because it rocks !!!

Notes:

Best friend with angularjs

A set of angularjs services backed up by ngResource

Wrap them in your own brokers !!!

Notes:

How do I get started ?

Use loopback cli
# Install loopback cli
npm install -g strongloop
# Scaffold a new loopack project
slc loopback my-project
cd my-project
# Generate models and datasources
slc loopback:model
slc loopback:datasource
# Generate angular SDK
lb-ng server/server client/lbServices.js

This is boooring... Show me the code

Live coding

Let's play with the baby and see how easy it is to build a mobile app

Let's build an instagram mobile app

What are we going to build?

That's it !!!

and one more thing...