Skip to content

deepanshubajaj/TasteBazaar-iOSApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taste Bazaar iOS App

Taste Bazaar is a restaurant ordering app built entirely using Swift in Xcode, following the MVC architecture. The app does not use Storyboards and is created entirely programmatically to provide a more engaging and user-friendly experience.

Problem Statement

The goal of the app is to provide a seamless restaurant experience where users can browse cuisines, order dishes, and view their cart. Below is a breakdown of the screens and features:

Screen 1: Home Screen

The Home screen contains the following segments:

  • Segment 1: Cuisine Category Cards

    • Horizontal infinite scroll with cuisine categories like North Indian, Chinese, Mexican, South Indian, and Italian.
    • Each cuisine card displays:
      • Image and name of the cuisine.
      • Rectangular shape with rounded corners.
      • Swipe enabled on both sides.
      • Tapping a card navigates to Screen 2.
  • Segment 2: Top 3 Famous Dishes

    • Displays the top 3 dishes of the restaurant in a tile format.
    • Each dish shows:
      • Image, price, and rating.
      • Option to add the same dish multiple times.
  • Segment 3: Cart Button

    • Allows navigation to Screen 3.
  • Segment 4: Language Selection Button

    • Enables switching between Hindi and English.

Screen 2: Select from Cuisine Menu

  • Displays the dishes specific to the selected cuisine.
  • Each dish shows:
    • Image and price.
    • Option to add the same dish multiple times.

Screen 3: Cart Screen

  • Displays the cuisines selected by the user for the order.
  • Shows:
    • List of selected dishes.
    • Net total amount of the dishes.
    • CGST and SGST of 2.5% each.
    • Grand total (sum of net total and tax).
    • Button to place the order.

Technologies Used

  • Language: Swift
  • IDE: Xcode
  • Architecture: MVC (Model-View-Controller)
  • API Integration: Custom APIs for retrieving data (dishes, cuisines, etc.)

Features

  • Smooth and interactive UI built without Storyboard.
  • Horizontal infinite scroll for cuisines.
  • Dynamic cart management allowing users to add multiple dishes.
  • Language support for Hindi and English.
  • Real-time price and tax calculation in the cart.

Setup Instructions

  1. Clone this repository to your local machine:
    git clone https://github.com/your-username/TasteBazaar-iOSApp.git
  2. Open the project in Xcode:
    open Taste Bazaar.xcodeproj
  3. Run the app on a simulator or physical device.

Make sure you have a working internet connection to access APIs.

API Endpoints

Here is a list of the API endpoints used in the app:

S.No. Section API Endpoints Description
1 Cuisine & Dish List get_item_list This API retrieves a list of food items grouped by cuisine categories. It returns details like item names, images, prices, and ratings.
2 Item Info get_item_by_id This API fetches details of a specific item based on the provided item_id.
3 Dish Filter get_item_by_filter This API allows users to filter food items based on cuisine type, price range, and minimum rating.
4 Payment Details make_payment This API is used to make payment for the ordered food items. The payment details include the total amount, number of items, and individual item details.

Link to PDF Document for all API's Information:

View the PDF Document

Launch Screen Snapshot and Video

Below is the launch screen for the app:

Launch Screen Snapshot:

Launch Screen

Launch Screen Video:

Launch Screen Gif

Launch Screen Video

Additional Snapshots

Here are additional views of the app:

  • App Look on Mobile:

App Look

  • Logo Image:

Logo

  • App Icon:

App Icon

Application Snapshot (Running in English)

Here’s how the app looks when running in English:

English UI Snapshots:

Home Page Home Page Top Dish 1 Home Page Top Dish 2
Home Page Top Dish 3 North Indian Cuisine Chinese Cuisine
Filter Look Chinese Filter Look NI Filter Apply Chinese
After Filter Chinese Any Chinese Dish 1 Any Chinese Dish 2
Any Chinese Dish 3 Any Chinese Dish 4 Any NI Dish 1
Any NI Dish 2 Cart Empty Cart Empty Alert
Cart Filled Card Pay UPI Pay
COD Pay Order Confirm After Pay Summary

English UI Video:

English UI Gif

English UI Video

Application Snapshot (Running in Hindi)

Here’s how the app looks when running in Hindi:

Hindi UI Snapshots:

Home Page Home Page Top Dish 1 North Indian Cuisine
Chinese Cuisine Filter Look Chinese Filter Look NI
Filter Apply Chinese After Filter Chinese After Filter NI
Any Chinese Dish 1 Any NI Dish 1 Any NI Dish 2
Cart Empty Cart Empty Alert Cart Empty Alert
Cart Filled Card Pay UPI Pay
COD Pay Order Confirm After Pay Summary

Hindi UI Video:

Hindi UI Gif

Hindi UI Video

Complete App Working Video

Watch the complete working video of the app:

Complete App Gif

Complete App Video

Contributing

No contributions are currently accepted for this project. Feel free to use or explore the code as you wish, but please note that modifications or additions are not allowed unless explicitly authorized by the owner.

License

This project is "All Rights Reserved" licensed under the LICENSE. You may not use, modify, or distribute this code without the explicit permission of the owner.

About

Taste Bazaar iOS Mobile Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages