Skip to content

Authentication & Login #147

Description

@sourabhkumar47

User Role Prompt After Login

Once authenticated (via Google or email), present a choice:

  • **Restaurant

  • Customer**

Use distinct visuals/icons for each to reduce choice friction

Based on the selection, route the user to either:

Restaurant Setup / Dashboard

Customer Home & Listings


Customer Home Screen
Food Listings Feed

  • Display available food items posted by restaurants.

  • Each card shows food image, name, price/free tag, restaurant name, pickup time.

  • Include a map preview or icon indicating distance/location.

  • Map View Toggle

  • Allow customers to switch between list and map views for browsing nearby listings.


Restaurant Profile Setup Screen

Fields:

  • Restaurant Name

  • Profile Image / Logo upload

  • Location: choose by switching between map pin drop or use current GPS

  • Automatically fetch address after location selection

  • Validate input before proceeding

    1. Meal Upload & Management Screen
  • Enable restaurants to create new food listings:

  • Input: Food name, description, quantity, image(s)

  • Pricing: Option to mark item as Free or Paid (with price entry)

  • Listing status control:

  • Toggle to mark as Sold Out or Removed once claimed

  • Listing dashboard:

Show active listings with status, date, image preview

Edit or remove options per item

Activity

  1. jyothika-badugu commented on Jul 27, 2025

    @jyothika-badugu

    Hi @sourabhkumar47 ,

    I'm a contributor for GSSoC 2025 and would love to work on this enhancement as my contribution to the project.
    I've gone through the issue ,kindly assign it to me so I can get started.

    Looking forward to your approval. Thank you!

  2. LegendCK commented on Jul 28, 2025

    @LegendCK

    Hey @sourabhkumar47 , I would love to contribute to this issue. Can you please assign me this under GSSoC'25?

  3. sourabhkumar47 commented on Jul 28, 2025

    @sourabhkumar47
    OwnerAuthor

    Hey @sourabhkumar47 , I would love to contribute to this issue. Can you please assign me this under GSSoC'25?

    Hi @LegendCK ,

    Assigned!

  4. LegendCK commented on Jul 28, 2025

    @LegendCK

    @sourabhkumar47
    Can we use firebase for auth or which one do you want me to use?

  5. sourabhkumar47 commented on Jul 29, 2025

    @sourabhkumar47
    OwnerAuthor

    @sourabhkumar47 Can we use firebase for auth or which one do you want me to use?

    Firebase Authentication is already implemented. We just need to handle the navigation flow so that customers and restaurants are directed to their respective screens upon login. Alternatively, you can implement your own approach if you have a better idea.

  6. LegendCK commented on Jul 29, 2025

    @LegendCK

    Okay Got it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions