├── .env.example ├── .gitignore ├── App.tsx ├── app.json ├── assets ├── adaptive-icon.png ├── categories.tsx ├── favicon.png ├── icon.png ├── images │ ├── dell-1.jpg │ ├── dell-2.jpg │ ├── head-set-1.jpg │ ├── head-set-2.jpg │ ├── hero.png │ ├── i-phone-1.jpg │ ├── i-phone-2.jpg │ ├── i-phone-3.jpg │ ├── mac-book-1.jpg │ ├── mac-book-2.jpg │ ├── mac-book-3.jpg │ ├── nintendo-switch-1.jpg │ ├── nintendo-switch-2.jpg │ ├── ps-5-1.jpg │ ├── ps-5-2.jpg │ ├── ps-5-3.jpg │ ├── samsung-1.jpg │ └── samsung-2.jpg ├── orders.ts ├── products.ts ├── splash.png └── types │ ├── category.ts │ ├── order.ts │ └── product.ts ├── babel.config.js ├── eas.json ├── package.json ├── readme.MD ├── src ├── api │ ├── api.ts │ └── subscriptions.ts ├── app │ ├── (shop) │ │ ├── _layout.tsx │ │ ├── index.tsx │ │ └── orders │ │ │ ├── [slug].tsx │ │ │ ├── _layout.tsx │ │ │ └── index.tsx │ ├── +not-found.tsx │ ├── _layout.tsx │ ├── auth.tsx │ ├── cart.tsx │ ├── categories │ │ ├── [slug].tsx │ │ └── _layout.tsx │ └── product │ │ ├── [slug].tsx │ │ ├── _layout.tsx │ │ └── index.tsx ├── components │ ├── list-header.tsx │ └── product-list-item.tsx ├── lib │ ├── notifications.ts │ ├── stripe.ts │ └── supabase.ts ├── providers │ ├── auth-provider.tsx │ ├── notification-provider.tsx │ └── query-provider.tsx ├── store │ └── cart-store.ts ├── types │ └── database.types.ts └── utils │ └── utils.ts ├── supabase ├── .gitignore ├── config.toml ├── functions │ ├── stripe-checkout │ │ └── index.ts │ └── supabase.ts ├── migrations │ ├── 20240911084651_remote_schema.sql │ ├── 20240912182912_new-stripe-field.sql │ └── 20240913115902_update-users-rls.sql └── seed.sql └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/.gitignore -------------------------------------------------------------------------------- /App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/App.tsx -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/app.json -------------------------------------------------------------------------------- /assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/adaptive-icon.png -------------------------------------------------------------------------------- /assets/categories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/categories.tsx -------------------------------------------------------------------------------- /assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/favicon.png -------------------------------------------------------------------------------- /assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/icon.png -------------------------------------------------------------------------------- /assets/images/dell-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/dell-1.jpg -------------------------------------------------------------------------------- /assets/images/dell-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/dell-2.jpg -------------------------------------------------------------------------------- /assets/images/head-set-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/head-set-1.jpg -------------------------------------------------------------------------------- /assets/images/head-set-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/head-set-2.jpg -------------------------------------------------------------------------------- /assets/images/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/hero.png -------------------------------------------------------------------------------- /assets/images/i-phone-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/i-phone-1.jpg -------------------------------------------------------------------------------- /assets/images/i-phone-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/i-phone-2.jpg -------------------------------------------------------------------------------- /assets/images/i-phone-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/i-phone-3.jpg -------------------------------------------------------------------------------- /assets/images/mac-book-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/mac-book-1.jpg -------------------------------------------------------------------------------- /assets/images/mac-book-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/mac-book-2.jpg -------------------------------------------------------------------------------- /assets/images/mac-book-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/mac-book-3.jpg -------------------------------------------------------------------------------- /assets/images/nintendo-switch-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/nintendo-switch-1.jpg -------------------------------------------------------------------------------- /assets/images/nintendo-switch-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/nintendo-switch-2.jpg -------------------------------------------------------------------------------- /assets/images/ps-5-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/ps-5-1.jpg -------------------------------------------------------------------------------- /assets/images/ps-5-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/ps-5-2.jpg -------------------------------------------------------------------------------- /assets/images/ps-5-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/ps-5-3.jpg -------------------------------------------------------------------------------- /assets/images/samsung-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/samsung-1.jpg -------------------------------------------------------------------------------- /assets/images/samsung-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/images/samsung-2.jpg -------------------------------------------------------------------------------- /assets/orders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/orders.ts -------------------------------------------------------------------------------- /assets/products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/products.ts -------------------------------------------------------------------------------- /assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/splash.png -------------------------------------------------------------------------------- /assets/types/category.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/types/category.ts -------------------------------------------------------------------------------- /assets/types/order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/types/order.ts -------------------------------------------------------------------------------- /assets/types/product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/assets/types/product.ts -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/babel.config.js -------------------------------------------------------------------------------- /eas.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/eas.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/package.json -------------------------------------------------------------------------------- /readme.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/readme.MD -------------------------------------------------------------------------------- /src/api/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/api/api.ts -------------------------------------------------------------------------------- /src/api/subscriptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/api/subscriptions.ts -------------------------------------------------------------------------------- /src/app/(shop)/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/(shop)/_layout.tsx -------------------------------------------------------------------------------- /src/app/(shop)/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/(shop)/index.tsx -------------------------------------------------------------------------------- /src/app/(shop)/orders/[slug].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/(shop)/orders/[slug].tsx -------------------------------------------------------------------------------- /src/app/(shop)/orders/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/(shop)/orders/_layout.tsx -------------------------------------------------------------------------------- /src/app/(shop)/orders/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/(shop)/orders/index.tsx -------------------------------------------------------------------------------- /src/app/+not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/+not-found.tsx -------------------------------------------------------------------------------- /src/app/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/_layout.tsx -------------------------------------------------------------------------------- /src/app/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/auth.tsx -------------------------------------------------------------------------------- /src/app/cart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/cart.tsx -------------------------------------------------------------------------------- /src/app/categories/[slug].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/categories/[slug].tsx -------------------------------------------------------------------------------- /src/app/categories/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/categories/_layout.tsx -------------------------------------------------------------------------------- /src/app/product/[slug].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/product/[slug].tsx -------------------------------------------------------------------------------- /src/app/product/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/product/_layout.tsx -------------------------------------------------------------------------------- /src/app/product/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/app/product/index.tsx -------------------------------------------------------------------------------- /src/components/list-header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/components/list-header.tsx -------------------------------------------------------------------------------- /src/components/product-list-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/components/product-list-item.tsx -------------------------------------------------------------------------------- /src/lib/notifications.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/lib/notifications.ts -------------------------------------------------------------------------------- /src/lib/stripe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/lib/stripe.ts -------------------------------------------------------------------------------- /src/lib/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/lib/supabase.ts -------------------------------------------------------------------------------- /src/providers/auth-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/providers/auth-provider.tsx -------------------------------------------------------------------------------- /src/providers/notification-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/providers/notification-provider.tsx -------------------------------------------------------------------------------- /src/providers/query-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/providers/query-provider.tsx -------------------------------------------------------------------------------- /src/store/cart-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/store/cart-store.ts -------------------------------------------------------------------------------- /src/types/database.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/types/database.types.ts -------------------------------------------------------------------------------- /src/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/src/utils/utils.ts -------------------------------------------------------------------------------- /supabase/.gitignore: -------------------------------------------------------------------------------- 1 | # Supabase 2 | .branches 3 | .temp 4 | .env 5 | -------------------------------------------------------------------------------- /supabase/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/supabase/config.toml -------------------------------------------------------------------------------- /supabase/functions/stripe-checkout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/supabase/functions/stripe-checkout/index.ts -------------------------------------------------------------------------------- /supabase/functions/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/supabase/functions/supabase.ts -------------------------------------------------------------------------------- /supabase/migrations/20240911084651_remote_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/supabase/migrations/20240911084651_remote_schema.sql -------------------------------------------------------------------------------- /supabase/migrations/20240912182912_new-stripe-field.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/supabase/migrations/20240912182912_new-stripe-field.sql -------------------------------------------------------------------------------- /supabase/migrations/20240913115902_update-users-rls.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/supabase/migrations/20240913115902_update-users-rls.sql -------------------------------------------------------------------------------- /supabase/seed.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laribright/gadgets-app-react-native/HEAD/tsconfig.json --------------------------------------------------------------------------------