How susantp/udhaarokhata works
Project type and purpose
• This is a cross-platform mobile application built with Expo (React Native).
• Purpose: Allow users to create and view “creditors” and “transactions” on their device, persisting data locally via SQLite (managed through Drizzle ORM).
File structure
• app/ directory: file-based routing using the Expo Router, split into two tab groups: creditors and transactions, each with list and create screens.
• components/: shared UI building blocks, subdivided into common (buttons, dialogs, renderers) and ui (platform-specific/tab bar).
• hooks/: custom React hooks for creating creditors and transactions (data-access layer).
• db/ & drizzle.config.ts: database schema (db/schema.ts), enum definitions, and Drizzle configuration plus migration scripts.
• assets/: fonts and images used by the UI.
• global.css & tailwind.config.js: styling setup (NativeWind/Tailwind).
README for additional insights
• Confirms Expo + file-based routing.
• No external backend—data is stored locally.
Final advice
• Migrations as a pre-startup step before ORM uses the DB.