Skip to content

This project is a 3-page Flutter application developed as part of the MyTravaly Flutter Developer hiring evaluation.

Notifications You must be signed in to change notification settings

aniketmmaind/mytravely_screening_task

Repository files navigation

Travely Screening Task

A Flutter-based demo application built as part of the Travely screening process.
This project demonstrates Google Authentication, hotel listing, search functionality, and pagination using REST APIs.


🚀 Features Overview

Page Feature Description
Page 1 – Google Sign In/Sign Up Uses Google Firebase Auth to authenticate users. No backend API required.
Page 2 – Home (Hotel List) Displays preloaded hotel destinations, supports keyword search by hotel name, city, state, or country. Uses official search API.
Page 3 – Search Results Shows filtered hotels with pagination for smooth scrolling and performance.
Profile Screen Displays user details fetched after Google login.

📸 Screenshots

Sign In Screen Home Screen Search Screen Auto Screen
Profile Screen

🛠 Tech Stack

Tool Purpose
Flutter (Stable) UI Development
Dart Language
Bloc State Management App State & Event Handling
Firebase Auth (Google Sign-In) Authentication
REST API Fetch search & listing results
Secure Storage / Shared Pref Save token & user info

🔐 Authentication Flow

  1. User clicks Sign In with Google
  2. Firebase Auth returns:
    • Name
    • Email
    • Profile Picture
  3. App stores user info locally
  4. Navigates to Home Screen

🏨 Home Screen & Search Functionality

  • Displays a list of hotels (preloaded sample)
  • Search works on:
    • City
    • State
    • Country
    • Hotel Name
  • API-based filtering is supported
  • Smooth pagination to avoid performance lag

🔧 Environment Setup (.env)

Create a .env file in root:

Add in pubspec.yaml:

flutter:
  assets:
    - .env

About

This project is a 3-page Flutter application developed as part of the MyTravaly Flutter Developer hiring evaluation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published