View Code? Open in Web Editor
NEW
๐ฑ Tinder mobile application clone developed with React Native
playground-tinder's Introduction
- ๐ฏ React Native tutorial from https://www.youtube.com/watch?v=qJaFIGjyRms&ab_channel=SonnySangha
- ๐ This Tinder clone application is a multi-platform application built using React Native
- ๐จ Styling done with NativeWind (TailwindCSS)
- ๐ฑ Using ExpoGo for live rendering on the mobile phone
- ๐ Used the Context API provided by React for handling the state
- ๐ช Implemeted a custom hook that provides the logic and data for authentication (
useAuth.js
)
nativewind
for the styling
expo-auth-session
for implementing the Google OAuth Authentication (reference: https://docs.expo.dev/guides/authentication/#google)
react-navigation
for handling the navigation between screens
firebase
for interacting with Firebase Firestore and Authentication
react-native-deck-swiper
for the swipe functionality of profile cards
assets
for the images
components
for the reusable components
screens
for the different application pages (one screen component per page)
App.js
is the entrypoint of the application
babel.config.js
for converting ES code into a backwards compatible version of JavaScript
tailwind.config.js
for specifying which files can use TailwindCSS styling
๐ Google Authentication Setup
- On Firebase (https://console.firebase.google.com/), create a project and a web application
- Activate Firestore & Authentication
- Copy the Firebase web application settings into
firebase.js
at the root of the project
- On the Google console (https://console.cloud.google.com/), select your project and go to
credentials
- In OAuth 2.0 Client IDs, select the web client (which should have been created beforehand)
- In
Authorized JavaScript origins
, add https://auth.expo.io
and https://localhost:19006
- In
Authorized redirect URIs
, add https://auth.expo.io/@{expo_username)/{expo_application}
and https://localhost:19006
playground-tinder's People
Contributors
Watchers