How rxssett11/yamisa-app works
Project type and purpose
• This is a hybrid mobile application built with Expo/React Native and TypeScript.
• Purpose: Provide PyMEs in the cut-and-sew sector an inventory, sales and production-cost management tool. Users log in, track raw-material and product stock, analyze sales trends, and receive stock alerts. Data persistence and auth are handled by Supabase.
File structure
• Top-level “app” directory follows the Expo Router convention:
• app/(tabs)/… — Tab-based screens (Explore, Items, Results, Contact, etc.)
• app/auth/* — Authentication layout and login screen
• app/_layout.tsx & app/appNavigator.tsx — Global navigation shells, theming and layout
• app/index.tsx — Entry point or default landing screen
• “components” — Reusable UI components (Collapsible, ParallaxScrollView, ThemedText/View, TabBarBackground, etc.)
• “hooks” — Custom hooks for theming/useColorScheme
• “lib/supabase.ts” — Supabase client wrapper for API calls (auth, CRUD)
• “assets” — Fonts and images
• “scripts/reset-project.js” — Development helper
• Config files: tsconfig.json, package.json, app.json
README for additional insights
• Confirms Expo + React Native front end, Supabase back end, Node 16+
• Features: Inventory management, sales analytics, production cost tracking, stock alerts
• Intended for small/medium enterprises (PyMEs)
Detailed breakdown
– Frontend block:
• “app/(tabs)” — Tab screens (Explore, Items, Results, Contact)
• “app/auth” — Login flow
• “components/” — Shared UI
• “hooks/” — Theme & business logic hooks
• “lib/supabase.ts” — API client
– Backend block (Supabase):
• Auth service
• PostgreSQL tables & PostgREST API
• Realtime subscriptions
– External block (optional):
• Push Notification service for stock alerts