README.md

March 12, 2021 · View on GitHub

Tinder Clone - React Native

Tinder Clone - React Native

Last Commit Licence Star

Overview

⚠️ This repository is not maintain anymore. I've made another repository of this project on Expo (and with Typescript) : https://github.com/stevenpersia/tinder-expo.

👏 Thank you for your stars, your issues and your pull requests. I really love open source community. ❤️

Perfect to start an Tinder Clone app. 4 screens are availables : Explore, Matches, Messages and Profile. You'll find some components like Card Component to pass props and variant. No frameworks UI like Bootstrap or Material UI are used.

More features will be added to the project in the future.

This project was inspired by this amazing Kishore's work on Dribbble. Feel free to follow this guy because he does great stuff.

Screenshots

Capture 1 Capture 2 Capture 3 Capture 4

Installation and usage

Be sure, you have installed all dependencies and applications to run React Native project on your computer : Getting Started with React Native.

This project works fine for iOS but in Android version there are serious UI problems because I've only worked on iOS.

Running the project

Clone this repository :

git clone https://github.com/stevenpersia/tinder-react-native.git
cd tinder-react-native

Install packages :

npm install

When installation is complete, run with version of your choice :

react-native run-ios
# or
react-native run-android

Props

CardItem

NameTypeRequiredDescriptionExample
imagestringYesPicture of member.image="https://..."
namestringYesName of member.name="John Doe"
descriptionstringYesDescription of member.description="Full-time Traveller. Globe Trotter."
matchesstringYesMatch percentage.matches="95"
actionsbooleanNoDisplay actions buttons (Like, Dislike, ...).actions
onPressLeftfunctionNoSwipe card to left.onPressLeft={() => this.swiper.swipeLeft()}
onPressRightfunctionNoSwipe card to right.onPressRight={() => this.swiper.swipeRight()}
statusstringNoDisplay online or offline badge (Online and Offline).status="Online"
variantbooleanNoDisplay another style of card (used for Matches screen).variant

Message

NameTypeRequiredDescriptionExample
imagestringYesPicture of member.image="https://..."
namestringYesName of member.name="John Doe"
lastMessagestringYesLast message of member.lastMessage="You want order in Gotham. Batman must take off his mask and turn himself in."

ProfileItem

NameTypeRequiredDescriptionExample
namestringYesName of member.name="John Doe"
matchesstringYesMatch percentage.matches="95"
agestringNoAge of member.age="25"
locationstringNoLocation of member.location="Paris, France"
info1stringNoMore information of member.info1="Straight, Single"
info2stringNoMore information of member.info2="Tea Totaller & Loves Photography"
info3stringNoMore information of member.info3="Beaches, Mountain & Coffee"
info4stringNoMore information of member.info4="Last seen: 23h ago"

Star, Fork, Clone & Contribute

Feel free to contribute on this repository. If my work helps you, please give me back with a star. This means a lot to me and keeps me going!

Contributors

Stephen Phillips
Stephen Phillips

💬
Anand Vasudevan
Anand Vasudevan

💻