daniiba / instaclone

Instagram Clone built with Supabase & React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instaclone

Instagram clone built with Supabase & React Native.

Installation

Install dependencies -

yarn
or
npm install

Setup Supabase Project and configure supabaseClient.ts

Use the Database structure from db_structure.sql in Supabase.

Configure Cloudinary for Image Uploads.

Enable Unsigned Uploads.

Set up Google Cloud Project and add Oauth Clients for Google Auth.

Set Environment Variables.

SUPABASE_KEY
SUPABASE_URL
CLOUDINARY_UPLOAD_PRESET
CLOUDINARY_CLOUD_NAME
GOOGLE_CLIENT_ID

Start metro bundler

yarn start
or
npm run start

Build Application.

Make sure a physical device is connected & detected in adb OR emulator is installed & running.

yarn android
or
npm run android

To Do

  • Messaging
  • Better Caching
  • Filters for Posts
  • Stories
  • Better Navigation and State Persistence
  • Video Posts
  • Activity Tab
  • Animations
  • React Native Web support
  • Testing on iOS

Note

This is not a 1:1 Replica of Instagram and will never be. The aim of this project was to try and test out Supabase and Mobx-State-Tree with React Native.

About

Instagram Clone built with Supabase & React Native


Languages

Language:TypeScript 80.0%Language:PLpgSQL 14.3%Language:Objective-C 1.7%Language:JavaScript 1.6%Language:Java 1.3%Language:HTML 0.4%Language:Ruby 0.3%Language:Starlark 0.2%