Skip to content

aymanshaheen/hotel-booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HotelTonight Application

HotelTonight is a mobile application developed using Flutter. It supports both Android and IOS.

HotelTonight is a hotel booking application. It allows the user to find hotels, book hotels, search for specific hotel, and filter hotels by different filterations like: price, location, and facilities.

Table of contents

Main packages used

Folder structure

We have applied clean archeticture concept and here is the basic folder structure:

core folder structure that flutter provides:

hotel-booking
β”œβ”€β”€ android
β”œβ”€β”€ assets
β”œβ”€β”€ build
β”œβ”€β”€ ios
β”œβ”€β”€ lib
└── test

Here is the folder structure we have been using in this project:

lib
β”œβ”€β”€ business_logic
β”œβ”€β”€ core
β”œβ”€β”€ data
β”œβ”€β”€ presentation
└── main.dart

business_logic

This folder containes the business logic of the application specificly state management.

business_logic
β”œβ”€β”€ booking_cubit
β”œβ”€β”€ global_cubit
β”œβ”€β”€ hotel_cubit
β”œβ”€β”€ user_cubit
β”œβ”€β”€ bloc_observer.dart
└── business_logic.dart

core

This folder contains all services and tools related to the application

core
β”œβ”€β”€ constant               
β”œβ”€β”€ di                      
β”œβ”€β”€ dio_service             
β”œβ”€β”€ exceptions             
β”œβ”€β”€ network_service         
β”œβ”€β”€ router                  
β”œβ”€β”€ shared_preferences      
β”œβ”€β”€ styles                  
└── utils                   

data

This folder contains all data and operations done to that data

data
β”œβ”€β”€ local
β”œβ”€β”€ model
β”œβ”€β”€ remote
└── repository

presentation

This folder containes everything related to the screen of the application.

presentation
β”œβ”€β”€ screens
β”œβ”€β”€ view
└── widget

Screenshots

Here are some screeshots for the application

Demo Video

hotel.booking.app.video.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages