Giter Club home page Giter Club logo

playground-tinder's Introduction

Tinder clone

  • ๐ŸŽฏ 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)

๐Ÿ“š Libraries used

  • 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

๐Ÿ—‚ Folder structure

  • 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

๐Ÿ”– Notes for myself

playground-tinder's People

Contributors

tonystrawberry avatar

Watchers

James Cloos avatar  avatar

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.