├── LICENSE ├── README.md ├── backend ├── jest.config.js ├── package.json ├── src │ ├── __tests__ │ │ ├── gemini.test.ts │ │ ├── scoring.test.ts │ │ └── setup.ts │ ├── config │ │ └── supabase.ts │ ├── middleware │ │ ├── auth.ts │ │ ├── errorHandler.ts │ │ └── rateLimiter.ts │ ├── routes │ │ ├── auth.ts │ │ ├── chat.ts │ │ ├── friends.ts │ │ ├── habits.ts │ │ ├── leaderboard.ts │ │ ├── profiles.ts │ │ ├── snapFeed.ts │ │ ├── snaps.ts │ │ └── streaks.ts │ ├── server.ts │ └── services │ │ ├── gemini.ts │ │ ├── leaderboard.ts │ │ ├── scoring.ts │ │ └── websocket.ts ├── tsconfig.json └── uploads │ └── snaps │ ├── 14a50612-6309-4014-af74-c3cd170b3f55 │ └── 14a50612-6309-4014-af74-c3cd170b3f55_1762718819016_b340f5317270f389.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5 │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762638477994_c3fea4ada0b42fb3.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762647765003_d2e580ad84e68fb2.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762718155435_09939f56b1cd0442.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762718723356_91044333acaa7434.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762719864015_791f34ac05ec48f3.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762720191397_981bad8c9f35d87a.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762720602883_583ef98feeea2ae6.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762720899553_dcbeedeed8d8095a.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762721090590_5bcd517e400c16e5.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762721370282_f4c6a819d9f7c704.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762721986913_42e4b3116bb32f28.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762723002476_58c4ee77d31d70f3.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762723209605_078d6e713db87f90.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762723561259_778c5f103066a31f.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762723620055_6bdddb67c69f185b.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762723717967_6ee34a2c28dd54d6.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762723942941_412b4adb29a1b19b.jpg │ ├── 43df5b89-3747-494d-aa32-f724467d6eb5_1762724415630_cb3ce26cb74ff803.jpg │ └── 43df5b89-3747-494d-aa32-f724467d6eb5_1762724903832_47574d8d6a1bd19e.jpg │ └── 56f5ae10-1f07-4a12-a1a8-20410ecd426d │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634235880_53042f54e20504cc.jpg │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634471893_a18414854104bc3f.jpg │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634649861_a47bd2b7c5bdfeba.jpg │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634732988_05d3bf1d79cf6154.jpg │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762635072580_30e4434b5cfe5ad2.jpg │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762635993940_9c94cc6674ec438a.jpg │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762637398929_e59f9c9ccc4c1b69.jpg │ ├── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762638591066_d5c10825c52dae51.jpg │ └── 56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762724921968_025b1ed4e8d7e516.jpg ├── frontend ├── dev-dist │ ├── registerSW.js │ ├── sw.js │ └── workbox-302896ff.js ├── index.html ├── package.json ├── postcss.config.js ├── public │ ├── pwa-192x192.png │ ├── pwa-512x512.png │ └── vite.svg ├── src │ ├── App.tsx │ ├── __tests__ │ │ ├── App.test.tsx │ │ └── setup.ts │ ├── components │ │ ├── BottomNavigation.tsx │ │ ├── ChatList.tsx │ │ ├── ChatRoom.tsx │ │ ├── ChatSnapViewer.tsx │ │ ├── FriendSearch.tsx │ │ ├── HabitSelector.tsx │ │ ├── LoadingScreen.tsx │ │ ├── SnapPicker.tsx │ │ ├── SnapPreview.tsx │ │ ├── SnapViewer.tsx │ │ └── layout │ │ │ ├── BottomNavigation.tsx │ │ │ ├── MobileLayout.tsx │ │ │ └── TopBar.tsx │ ├── contexts │ │ ├── AuthContext.tsx │ │ ├── ChatContext.tsx │ │ ├── ChatRoomContext.tsx │ │ ├── HabitsContext.tsx │ │ └── SnapFeedContext.tsx │ ├── index.css │ ├── lib │ │ ├── api.ts │ │ └── supabase.ts │ ├── main.tsx │ ├── screens │ │ ├── AuthScreen.tsx │ │ ├── CameraScreen.tsx │ │ ├── ChatScreen.tsx │ │ ├── FriendsScreen.tsx │ │ ├── HabitsScreen.tsx │ │ ├── LeaderboardScreen.tsx │ │ ├── LoginScreen.tsx │ │ ├── MapScreen.tsx │ │ ├── OnboardingScreen.tsx │ │ ├── ProfileScreen.tsx │ │ ├── SnapFeedScreen.tsx │ │ └── StoriesScreen.tsx │ ├── services │ │ └── websocket.ts │ └── stores │ │ └── authStore.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── vitest.config.ts ├── infra └── supabase │ ├── migrations │ ├── 001_initial_schema.sql │ └── 002_add_friend_streaks.sql │ └── seed.sql ├── package.json └── vercel.json /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/README.md -------------------------------------------------------------------------------- /backend/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/jest.config.js -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/__tests__/gemini.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/__tests__/gemini.test.ts -------------------------------------------------------------------------------- /backend/src/__tests__/scoring.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/__tests__/scoring.test.ts -------------------------------------------------------------------------------- /backend/src/__tests__/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/__tests__/setup.ts -------------------------------------------------------------------------------- /backend/src/config/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/config/supabase.ts -------------------------------------------------------------------------------- /backend/src/middleware/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/middleware/auth.ts -------------------------------------------------------------------------------- /backend/src/middleware/errorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/middleware/errorHandler.ts -------------------------------------------------------------------------------- /backend/src/middleware/rateLimiter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/middleware/rateLimiter.ts -------------------------------------------------------------------------------- /backend/src/routes/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/auth.ts -------------------------------------------------------------------------------- /backend/src/routes/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/chat.ts -------------------------------------------------------------------------------- /backend/src/routes/friends.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/friends.ts -------------------------------------------------------------------------------- /backend/src/routes/habits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/habits.ts -------------------------------------------------------------------------------- /backend/src/routes/leaderboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/leaderboard.ts -------------------------------------------------------------------------------- /backend/src/routes/profiles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/profiles.ts -------------------------------------------------------------------------------- /backend/src/routes/snapFeed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/snapFeed.ts -------------------------------------------------------------------------------- /backend/src/routes/snaps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/snaps.ts -------------------------------------------------------------------------------- /backend/src/routes/streaks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/routes/streaks.ts -------------------------------------------------------------------------------- /backend/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/server.ts -------------------------------------------------------------------------------- /backend/src/services/gemini.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/services/gemini.ts -------------------------------------------------------------------------------- /backend/src/services/leaderboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/services/leaderboard.ts -------------------------------------------------------------------------------- /backend/src/services/scoring.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/services/scoring.ts -------------------------------------------------------------------------------- /backend/src/services/websocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/src/services/websocket.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /backend/uploads/snaps/14a50612-6309-4014-af74-c3cd170b3f55/14a50612-6309-4014-af74-c3cd170b3f55_1762718819016_b340f5317270f389.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/14a50612-6309-4014-af74-c3cd170b3f55/14a50612-6309-4014-af74-c3cd170b3f55_1762718819016_b340f5317270f389.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762638477994_c3fea4ada0b42fb3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762638477994_c3fea4ada0b42fb3.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762647765003_d2e580ad84e68fb2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762647765003_d2e580ad84e68fb2.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762718155435_09939f56b1cd0442.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762718155435_09939f56b1cd0442.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762718723356_91044333acaa7434.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762718723356_91044333acaa7434.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762719864015_791f34ac05ec48f3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762719864015_791f34ac05ec48f3.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762720191397_981bad8c9f35d87a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762720191397_981bad8c9f35d87a.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762720602883_583ef98feeea2ae6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762720602883_583ef98feeea2ae6.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762720899553_dcbeedeed8d8095a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762720899553_dcbeedeed8d8095a.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762721090590_5bcd517e400c16e5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762721090590_5bcd517e400c16e5.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762721370282_f4c6a819d9f7c704.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762721370282_f4c6a819d9f7c704.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762721986913_42e4b3116bb32f28.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762721986913_42e4b3116bb32f28.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723002476_58c4ee77d31d70f3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723002476_58c4ee77d31d70f3.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723209605_078d6e713db87f90.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723209605_078d6e713db87f90.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723561259_778c5f103066a31f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723561259_778c5f103066a31f.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723620055_6bdddb67c69f185b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723620055_6bdddb67c69f185b.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723717967_6ee34a2c28dd54d6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723717967_6ee34a2c28dd54d6.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723942941_412b4adb29a1b19b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762723942941_412b4adb29a1b19b.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762724415630_cb3ce26cb74ff803.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762724415630_cb3ce26cb74ff803.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762724903832_47574d8d6a1bd19e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/43df5b89-3747-494d-aa32-f724467d6eb5/43df5b89-3747-494d-aa32-f724467d6eb5_1762724903832_47574d8d6a1bd19e.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634235880_53042f54e20504cc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634235880_53042f54e20504cc.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634471893_a18414854104bc3f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634471893_a18414854104bc3f.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634649861_a47bd2b7c5bdfeba.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634649861_a47bd2b7c5bdfeba.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634732988_05d3bf1d79cf6154.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762634732988_05d3bf1d79cf6154.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762635072580_30e4434b5cfe5ad2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762635072580_30e4434b5cfe5ad2.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762635993940_9c94cc6674ec438a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762635993940_9c94cc6674ec438a.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762637398929_e59f9c9ccc4c1b69.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762637398929_e59f9c9ccc4c1b69.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762638591066_d5c10825c52dae51.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762638591066_d5c10825c52dae51.jpg -------------------------------------------------------------------------------- /backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762724921968_025b1ed4e8d7e516.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/backend/uploads/snaps/56f5ae10-1f07-4a12-a1a8-20410ecd426d/56f5ae10-1f07-4a12-a1a8-20410ecd426d_1762724921968_025b1ed4e8d7e516.jpg -------------------------------------------------------------------------------- /frontend/dev-dist/registerSW.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/dev-dist/registerSW.js -------------------------------------------------------------------------------- /frontend/dev-dist/sw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/dev-dist/sw.js -------------------------------------------------------------------------------- /frontend/dev-dist/workbox-302896ff.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/dev-dist/workbox-302896ff.js -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/public/pwa-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/public/pwa-192x192.png -------------------------------------------------------------------------------- /frontend/public/pwa-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/public/pwa-512x512.png -------------------------------------------------------------------------------- /frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/public/vite.svg -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/__tests__/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/__tests__/App.test.tsx -------------------------------------------------------------------------------- /frontend/src/__tests__/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/__tests__/setup.ts -------------------------------------------------------------------------------- /frontend/src/components/BottomNavigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/BottomNavigation.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/ChatList.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatRoom.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/ChatRoom.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatSnapViewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/ChatSnapViewer.tsx -------------------------------------------------------------------------------- /frontend/src/components/FriendSearch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/FriendSearch.tsx -------------------------------------------------------------------------------- /frontend/src/components/HabitSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/HabitSelector.tsx -------------------------------------------------------------------------------- /frontend/src/components/LoadingScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/LoadingScreen.tsx -------------------------------------------------------------------------------- /frontend/src/components/SnapPicker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/SnapPicker.tsx -------------------------------------------------------------------------------- /frontend/src/components/SnapPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/SnapPreview.tsx -------------------------------------------------------------------------------- /frontend/src/components/SnapViewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/SnapViewer.tsx -------------------------------------------------------------------------------- /frontend/src/components/layout/BottomNavigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/layout/BottomNavigation.tsx -------------------------------------------------------------------------------- /frontend/src/components/layout/MobileLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/layout/MobileLayout.tsx -------------------------------------------------------------------------------- /frontend/src/components/layout/TopBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/components/layout/TopBar.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/AuthContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/contexts/AuthContext.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/ChatContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/contexts/ChatContext.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/ChatRoomContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/contexts/ChatRoomContext.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/HabitsContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/contexts/HabitsContext.tsx -------------------------------------------------------------------------------- /frontend/src/contexts/SnapFeedContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/contexts/SnapFeedContext.tsx -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/lib/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/lib/api.ts -------------------------------------------------------------------------------- /frontend/src/lib/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/lib/supabase.ts -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/screens/AuthScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/AuthScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/CameraScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/CameraScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/ChatScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/ChatScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/FriendsScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/FriendsScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/HabitsScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/HabitsScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/LeaderboardScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/LeaderboardScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/LoginScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/LoginScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/MapScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/MapScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/OnboardingScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/OnboardingScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/ProfileScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/ProfileScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/SnapFeedScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/SnapFeedScreen.tsx -------------------------------------------------------------------------------- /frontend/src/screens/StoriesScreen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/screens/StoriesScreen.tsx -------------------------------------------------------------------------------- /frontend/src/services/websocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/services/websocket.ts -------------------------------------------------------------------------------- /frontend/src/stores/authStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/src/stores/authStore.ts -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/vite.config.ts -------------------------------------------------------------------------------- /frontend/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/frontend/vitest.config.ts -------------------------------------------------------------------------------- /infra/supabase/migrations/001_initial_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/infra/supabase/migrations/001_initial_schema.sql -------------------------------------------------------------------------------- /infra/supabase/migrations/002_add_friend_streaks.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/infra/supabase/migrations/002_add_friend_streaks.sql -------------------------------------------------------------------------------- /infra/supabase/seed.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/infra/supabase/seed.sql -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/package.json -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yashudeveloper/Snapbit/HEAD/vercel.json --------------------------------------------------------------------------------