Giter Site home page Giter Site logo

sharetribe-note's Introduction

Here is some note about Sharetribe

(I start this at Sep/10/2016)
image


## Table of Contents 1. [What is Sharetribe?](#what-is-sharetribe?) 1. [This Note base on What Version of Sharetribe? Answer: 5.11](#this-note-base-on-what-version-of-sharetribe-answer-511) 1. [How to pay? (on Sharetribe)](#how-to-pay?-(on-sharetribe)) 1. [About Company](#about-company) 1. [Website that base on Sharetribe](#Website-that-base-on-Sharetribe) 1. [Tech Stack](#tech-stack) 1. [Sidenote](#sidenote) 1. [Code](#code) * Model * Controller * View
## What is Sharetribe? Sharetribe is this: https://www.sharetribe.com/ [About](https://www.sharetribe.com/about.html) [Team](https://www.sharetribe.com/team.html)

Open Source Code is here: https://github.com/sharetribe/sharetribe

A Open Source Marketplace, under MIT license.
(MIT license mean you can modify code, sell these code. only thing you have to do is keep licence file.)


## This Note base on What Version of Sharetribe? Answer: 5.11 All these note down below are base on 5.11 if you find any inconsistent between Sharetribe Code and This note, Code is always right.
## How to pay? (on Sharetribe) Paypal
## About Company Company locate at [Helsinki, Finland](https://www.google.com/maps/place/Helsinki,+Finland/@58.7019284,16.6558103,4.79z/data=!4m5!3m4!1s0x46920bc796210691:0xcd4ebd843be2f763!8m2!3d60.1698557!4d24.938379) People there speak Finnish
## Website that base on Sharetribe Not a complete list, because even sharetribe offcial don't know exactly how many website base on sharetribe http://www.studiotime.io/ - rent music studios https://www.haatori.fi/ - pre-owned wedding dresses https://www.thequiver.com/ - rent surf board https://www.drivevinty.com/ - rent old car https://www.cyclelifehq.com/ - Bike & Bike tours https://www.foodforage.com.au/ - Food http://kamerakit.se/ - Camera https://app.thefoodcorridor.com/ - Food https://hengerdeling.no/nb?view=list - Car? this is not english..

Reference:
Offcial Website: Success Story
Sharetribe Community: Marketplace Showroom


## Tech Stack (not fully comfirm by Sharetribe Team, yet.) - Ruby 2.3.1 - Ruby on Rails 4.2.7 - MySQL - React + jQuery - "what you see is what you get" Editor [Mercury](http://jejacks0n.github.io/mercury/) - Deploy: Custom Script (not using Mina or Cap3) - Server: Heroku (BaaS) - Image Hosting: Amazon S3 - Notable Gem: - devise | for Email/Username Signup/Login - omniauth-facebook | Third party login: Facebook - haml | easier to write HTML - mysql2 | because sharetribe using mysql - paperclip | image upload - passenger | rails server - react_on_rails | yep, react - factory_girl, capybara, rspec-rails, cucumber-rails, selenium-webdriver | for test

Not really sure they are using: Spinhx (I don't know how this thing work)


Reference: Code, Readme, and [This Github Issue comment](sharetribe/sharetribe#2525 (comment))
## Sidenote Sharetribe's old name is "Kassi", That's why you saw ```Ruby Kassi::Application.routes.draw do ``` in `config/routes.rb` file. Reference: https://github.com/sizzlelab/kassi
# Code

1. Below is what I think, not 100% correct

because I don't work for Sharetribe. I am not team member.
I am just guessing and testing and poking around, trying to understand how they work, some of my guess may be wrong.

2. Goal of Code Section

Help you understand the big picture of Sharetribe.
Here is not gonna write all these little detail.
the format below may change.


## Model (app/models/)
  • User information: model for store user info is person (Table name is people) (app/models/person.rb)
    there are no model name user or account

## Controller (app/controllers/)
  • application_controller (600 line) - a lot function

  • errors_controller (80 line) - for error, like 404, 500, 410 and so on

  • homepage_controller - (300 line) for home page

  • i18n_controller - (10 line) only 1 function: change language and redirect, that's it

  • landing_page_controller - (300 line) landing page

  • design_controller - (4 line) show design compoment


## Database Table (db/schema.rb)
  • people | store user infomation, include: given_name, family_name, email, password, so on

  • communities | very import table, 85 field.

  • locations | lat, lng, string address

  • messages | I think that's how 'inbox' work

  • follower_relationships | A follow B


sharetribe-note's People

Contributors

1c7 avatar

Watchers

 avatar  avatar  avatar

sharetribe-note's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.