NiketanG / instaclone

Instagram Clone built with Supabase, React-Query & 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_dump.sql in Supabase.

Enable Google Auth in Supabase ,and set up Google Cloud Project and add Oauth Clients in Supabase App Dashboard.

Set Environment Variables.

SUPABASE_KEY
SUPABASE_URL

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

Additional Steps

Make sure you enable 'Realtime' for messages table from Supabase Dashboard. Otherwise realtime messaging wont work.

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.

About

Instagram Clone built with Supabase, React-Query & React Native


Languages

Language:TypeScript 68.8%Language:PLpgSQL 27.2%Language:Java 2.0%Language:Ruby 0.6%Language:Objective-C 0.6%Language:JavaScript 0.4%Language:Objective-C++ 0.3%Language:Shell 0.1%