Top Banner
PIPAJS & IOT USING NODEJS BY FARIS MADEBYAIS.COM
14

PipaJS & IoT Using NodeJS by Faris (Cryowerx)

Apr 16, 2017

Download

Technology

Tech in Asia ID
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

PIPAJS &IOT USINGNODEJS

BYFARISMADEBYAIS.COM

Page 2: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

ABOUTME

• Startmycareerinpetroleum industry=))

• Foodieandafoodphotographer

• Aguitaristanda-newbiepianist

• Anewbiesoftwareengineerandwillcodeforfood=D

Page 3: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

EXPERIENCE

• Full-StackPolyglotatCryoWerx,SG(Present)

• Full-StackLeadEngineeratRaydar,SG

• HeadofDevelopmentatSetipe, ID

• SoftwareEngineeratPricebook, ID

• SE-AsiaSoftwareEngineeratBlaast,FI

• ApplicationSpecialistatNCSPte Ltd,SG

Page 4: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

PIPAJS

Page 5: PipaJS & IoT Using NodeJS by Faris (Cryowerx)
Page 6: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

PIPAJS

• Anextensionmodule forExpressJS

• Easytoimplement

• Reusablecode

• Morereadablecode

• Ithasbeendownloaded for487times(basedonhttp://npm-stat.com/charts.html?package=pipa)

Page 7: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

PIPAJSDEMO

Page 8: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

HOWTOUSEPIPAJS

• Gotoyourprojectfolder

• InstallPipaJS byexecuting:npm installpipa

• Prepareyourrouteandmiddleware

• Formoredetail,pleasegoto:

• https://www.npmjs.com/package/pipa

Page 9: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

IOT USINGNODEJS

MYEXPERIENCE

Page 10: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

POPULARLIBRARIES

• CylonJS - https://cylonjs.com/

• JohnnyFive- http://johnny-five.io/

Page 11: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

IOT USINGNODEJS

DEMO

Page 12: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

PREPARATION

• AnytypeofArduino

• AnLED

Page 13: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

STEP-BY-STEP• Createaprojectfolder

• TheninstallJohnny-Five:npm installjohnny-five

• Createanindex.js file

• Copy&pastefollowing code

• InstalltheLEDtoPIN13

• Thenstartyour index.js byexecuting:node index.js

Page 14: PipaJS & IoT Using NodeJS by Faris (Cryowerx)

THANKYOU

• Website- madebyais.com

• Github - github.com/~madebyais

• NPM- npmjs.com/~madebyais

• Youtube - https://goo.gl/A81dNf