Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building E-commerce website with Canner & Fire...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
Avatar for Canner Canner
June 30, 2018

Building E-commerce website with Canner & Firebase

In this talk, Leo, Canner's senior frontend engineer, will share how to build an E-commerce website with Canner & Firebase.

Avatar for Canner

Canner

June 30, 2018

More Decks by Canner

Other Decks in Technology

Transcript

  1. • Users can login • Users can buy products •

    Filtered by category • Create new orders • Payment User Stories
  2. Structure Application CMS Data Admin
 • Edit products • Edit

    categories • Show orders User
 • Show products • Buy products
  3. • Features • Realtime • Easy to use • Cross-platform

    SDKs • Data Structure • JSON object • No array Firebase Realtime Database
  4. • To one - id • To many - id

    map Relationship To many To one
  5. • Declare the data type of a field • 


    
 
 Data Type Tag <string /> <boolean /> <array /> <dateTime /> <object /> <image /> <relation /> <number /> <number />
  6. Data Type Tag • Declare the data type of a

    field • 
 
 
 • Properties • ui: the ui component canner support • uiParams: default setting for ui • keyName <string /> <boolean /> <array /> <dateTime /> <object /> <image /> <relation /> <number /> <number />
  7. <filter /> <sort /> <pagination /> Query Tag • Add

    features on array field • 
 

  8. • Listen events • value • child_added • child_changed •

    child_removed • child_moved • Get once Read Data