zoro9483 / Bootcamp2021

course for learn web development - HTML, CSS, JS, Node, and More!
1 stars 0 forks source link

tinder #6

Open zoro9483 opened 3 years ago

zoro9483 commented 3 years ago

Match_Info: Creates a local dictionary containing the following keys on each of your matches { 123456: { 'messages': [

    ],
    'age': 20,
    'match_id': '123456789123456789',
    'name': 'Joakim',
    'photos': [
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg'
    ],
    'message_count': 0,
    'last_activity_date': '15 days, 16 hrs 46 min 57 sec',
    'ping_time': '2017-03-11T04:58:56.433Z',
    'gender': 1,
    'bio': 'New York Knicks Center',
    'avg_successRate': 0
  },
  56789: {
    ...
  }

}

zoro9483 commented 3 years ago

{ 123456: { 'messages': [

    ],
    'age': 2,
    'match_id': '123456789123456789',
    'name': 'Joy',
    'photos': [
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg'
    ],
    'message_count': 0,
    'last_activity_date': '15 days, 16 hrs 46 min 57 sec',
    'ping_time': '2017-03-11T04:58:56.433Z',
    'gender': male / famle,
    'bio': 'available for adoption',
    'avg_successRate': 0
  },
  56789: {
    ...
  }

}

zoro9483 commented 3 years ago

Sorting: Sorting matches by "age", "message_count", and "gender" [ ('123456789123456789', { 'messages': [

    ],
    'age': 19,
    'match_id': '123456789123456789abcdefghi',
    'name': 'Carmelo',
    'photos': [
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg',
      'http://images.gotinder.com/123456789123456789.jpg'
    ],
    'message_count': 0,
    'last_activity_date': '0 days, 22 hrs 23 min 45 sec',
    'ping_time': '2017-03-25T23:22:08.954Z',
    'gender': 1,
    'bio': 'I do not like to win sometimes', 'avg_successRate': 0.7837966008217391
    }
    )

]

zoro9483 commented 3 years ago

repo for tinder API https://github.com/fbessez/Tinder

Facebook Friends: Given a name, it returns some profile information and their id. Once you have the ID, then you can call api.get_person(id) to get more in-depth information on your friends. { 'Martin Shkreli': { 'photo': [ { 'processedFiles': [ { 'url': 'https://graph.facebook.com/123456789/picture?height=84&width=84', 'height': 84, 'width': 84 }, { 'url': 'https://graph.facebook.com/123456789/picture?height=172&width=172', 'height': 172, 'width': 172 }, { 'url': 'https://graph.facebook.com/123456789/picture?height=320&width=320', 'height': 320, 'width': 320 }, { 'url': 'https://graph.facebook.com/123456789/picture?height=640&width=640', 'height': 640, 'width': 640 } ] } ], 'in_squad': True, 'name': 'Martin Shkreli', 'user_id': '582bf320452u3yy1217f8' } }

zoro9483 commented 3 years ago

https://github.com/stevenpersia/tinder-expo https://github.com/stevenpersia/tinder-react-native

zoro9483 commented 3 years ago

react-swipe-card Tinder style swipe cards

npm

Usage Demo Code Components License Usage Install

$ npm install react-swipe-card -save Demo Demo

Code import Cards, { Card } from 'react-swipe-card'

const data = ['Alexandre', 'Thomas', 'Lucien']

const Wrapper = () => { return ( <Cards onEnd={action('end')} className='master-root'> {data.map(item => <Card onSwipeLeft={action('swipe left')} onSwipeRight={action('swipe right')}>

{item}

      </Card>
    )}
  </Cards>

) } Components Cards Props:

className: string onEnd: function alertRight: component alertLeft: component alertTop: component alertBottom: component Card Props:

onSwipeLeft: function onSwipeRight: function onSwipeTop: function onSwipeBottom: function

zoro9483 commented 3 years ago

https://github.com/alexandre-garrec/react-swipe-card

zoro9483 commented 3 years ago

Data: dbmeinv-firebase-api firebase server JS: vue vuex UI: bulma SERVER: now.sh Other Excellent library

zoro9483 commented 3 years ago

https://github.com/oussamabouchikhi/tindog

zoro9483 commented 3 years ago

php for tinder

https://github.com/vishalg2235/Tinder-like-website

zoro9483 commented 3 years ago

https://github.com/JoseJPR/Tinder-Interface-for-Cats

zoro9483 commented 3 years ago

Tinder-cats routes GET /cats -> list all cats GET /cats/:id -> cat detail

GET /cats/create -> show the form for create a cat POST /cats -> create the cat

POST /cats/:id/delete -> delete the cat with that id

GET /cats/:id/edit -> show the form to edit POST /cats/:id -> Cat.findByIdAndUpdate(id, { update }) (Pseudo)

GET /signup -> show signup form POST /signup -> create user

const id = req.params.id === const { id } = req.params

const catToEdit = { name: 'asd' } res.render('path', { catToEdit }) === res.render('path', { catToEdit: catToEdit }) // vista catToEdit.name === this.catToEdit.name

https://github.com/zapatran/tinder-cats

zoro9483 commented 3 years ago

https://github.com/MinhTriet2104/TinderCat

zoro9483 commented 3 years ago

https://github.com/TheAadithyan/PetFame