Sharetribe Flex - Spill the beans!

Sharetribe Flex looks very interesting, I was wondering what is the technology behind there.

So, inspecting sample Sharetribe Flex powered sites, frontend is a hosted custom ReactJS app, assembled and built from

  • Basic Application Template
  • Marketplace Settings
  • Custom React Components
  • Sharetribe JS SDK to talk to Flex API services

API services (most probably written in Clojure) at this time reveal to be very small, yet providing essential methods, like:

  • current_user (change_email, change_password, create, create_stripe_account, delete_stripe_account, send_verification_email, show, update_profile, update_stripe_account, verify_email)
  • images (upload_listing_image, upload_profile_image)
  • listings (add_image, close, create, open, query, query_own, search, show, update)
  • marketplace (show)
  • messages (query, send)
  • own_listings (add_image, close, create, open, query, show, update)
  • password_reset (request, reset)
  • reviews (query, show)
  • transactions (initiate, initiate_speculative, query, show, transition, transition_speculative)
  • users (show)

Also, seems that Flex API has very relaxed data model about listings and user profiles (and probably transactions and bookings also), more like schemaless document-oriented structures, not plain sql table based, so you define any custom fields, attributes, categories, options, and forms just in your components code, not by switching some admin config toggles or database migrations.

3 Likes