How ankitraj10/mealstogo works
Project Type and Purpose
• This is a cross-platform mobile application built with Expo and React Native.
• Purpose: a location-aware restaurant finder with user authentication and favourite management. Users can search restaurants by city or on a map, view details, register/login, and save favourites.
File Structure
• Top-level “app” directory: uses Expo’s file-based routing (app/_layout.tsx). All route screens live here.
• “assets”: static assets (fonts, images, helper scripts).
• “src”: core app code
• src/components: generic UI components (typography, spacers, favourite bar)
• src/features: feature modules
– account (login/register screens + styling)
– map (map screen, callouts, search component)
– restaurant (list/search, detail screens, info cards)
• src/infrastructure: cross-cutting concerns
– navigation (stack/tab navigators)
• src/services: business logic & state management via React Contexts
– authentication, favourites, location, restaurants (with mocks & real service)
• Configs: package.json, tsconfig.json, app.json
Insights from README
• Expo app using create-expo-app template
• Emphasis on file-based routing