EXISTING SYSTEM DESCRIPTION

In the existing system, there is no such restaurant food ordering service for providing food services for passengers on the train. Railway catering is the only option for passengers to get food. Passengers face several problems in trains with unhygienic food. There are several cases where passengers faced health problems due to unhygienic food provided in trains.

Limitations of the existing system

  • Due to unhygienic food provided on trains, passengers’ health will be affected.
  • Without good food, small children in train journey also will have health problems like indigestion etc.

PROPOSED SYSTEM DESCRIPTION

This is an android application which is designed to order the food online while travelling by train. While travelling a long distance by train the main problem we face is food. To overcome such a problem we want to develop a mobile application through which we are ordering the food online. If the person wants to order food he/her can directly order the food so that the food is delivered directly to your seat and the cash-on-delivery process takes place between the customer and the person who delivers the food to us from the particular restaurant which we order.

Features of Proposed System:

  • Ordering the food online while travelling by train.
  • Provide more comfort for the users in ordering the food.
  • To avoid the unhygienic railway catering system.
  • The passengers can overcome the problems faced regarding their food need Complaints / Reviews can also be given about the food service

 

MODULE DESCRIPTION

Modules

User Module Description

In this user should install the application and then he should register into it. Registering into the application requires some fields such as email id, phone number. After registering into the application he/she user has to enter from and to address. Then the list of restaurants in various locations is displayed. Each restaurant displays the menu of a wide variety of food items. From that menu, the user can select the restaurant and food items and can order the food before reaching that particular station. The order consists of a list of food items along with passenger details like PNR number, train number, compartment number, berth and seat number. When the food is delivered to him, he pays the bill.

Restaurant Management Module:

The restaurant management receives the order. He can see the order in the same app and sends a person to deliver the food to the passenger. As the train waits for sometime in the railway station and with the help of passenger’s details, the restaurant person can get on the train and deliver the food to passenger and collects the bill amount. The mode of payment is cash-on-delivery. Also, there is a facility of complaint box, where complaints about the quality of food can be given to restaurant management. So that the restaurant management can improve their quality of service. The restaurant management can see the list of orders date-wise.

This Project is an android app for ordering food sitting in the train and giving the berth information.

The main requirement of this project is to provide an android app same as this which relates to food ordering and railways.

Advantages

  • Ordering the food online while travelling by train.
  • Provide more comfort for the users in ordering the food.
  • To avoid the unhygienic railway catering system.
  • The passengers can overcome the problems faced regarding their food needs.
  • Complaints / Reviews can also be given about the food services

Disadvantages

  • Due to unhygienic food provided in trains, passengers’ health will be affected.
  • Without good food, small children in train journey also will have health problems like indigestion etc.

SYSTEM REQUIREMENTS 

Software Requirements and Hardware Requirements: 

Software 

  • Operating system: Windows
  • Coding language: Android SDK
  • Toolkit: Android 5.0
  • IDE: Eclipse

Hardware

  • System: Pentium IV 2.4 GHz
  • Hard Disk: 80 GB
  • Monitor: 15 VGA Color
  • RAM: 2 GB

Runtime environment:

  • Device : Mobile / Tablet
  • OS: Android
  • Minimum Version : 0 Ice Cream Sandwich 

SYSTEM ARCHITECTURE:

The user can create and organize tasks or actions by interacting with a user interface (UI). UI internally interact with Restaurant where all the tasks are based on customer and order of the action to be performed or on the basis of priority. At ant time order placed, the dispatcher dispatches the order placed successfully message to the user console.

ER Diagram for Restaurant, User and Orders:

FUNCTIONAL AND NON-FUNCTIONAL REQUIREMENTS

Functional Requirements

  • The user can create/view the actions which are already performed and to be performed in the future.
  • The user can divide the actions based on the category.
  • The user can view and add the categories.
  • The user can also view and add the tasks in Restaurant Manager.
  • The user can prioritize the actions.
  • The user can view the actions, which are selected.
  • The user can order the items as per the requirement.
  • The user can make use of PNR number can directly communicate with the Restaurant Manager.

Use case Diagram:

Use Case Specification for User

Primary Actor:

User

Secondary Actor:

Database

Precondition:

Click On the Icon of Food Application

Post Condition:

Add an action into a database or Delete an action from the database.

Basic Flow:

  • Click on the Items in Item List.
  • Click on Item Name button to add an action.
  • Enter the information such as
    • Checking for available items
    • Items Name, Item cost, Active are Inactive
    • Conformation to User
    • Receive Order
    • Payment (COD)
  • Click on the Review button for Restaurant Rating
  • Click on go back and logout to end the task

Alternate Flow:

  • The user can enter his login id and password to order any other items.

Use Case Specification for Restaurant:

Primary Actor:

User

Secondary Actor:

Database

Precondition:

Actions/Tasks must be added in Inbox.

Post Condition:         

Retrieve information from database and display information on UI. 

Basic Flow:

  • Click on the Notification received from the user.
  • Give the confirmation to the user.
  • It displays order ID, delivery boy contact number, total amount.
  • It displays information about the duration of the delivery of the order.

Alternate Flow: 

  • If the mentioned PNR number is wrong then the order may not be considered in that case the restaurant module calls the user requesting to check his PNR number.

Class Description 

Description for Bootstrap Activity class:  

Attributes:

Purpose:

Launching Food Application 

Description for Login Activity class:

Attributes:

Guest Button, LoginButton1, Register Button Email edit- text, Password edit-text.  

Purpose: 

Ask the user to demonstrate with predefined categories. 

 Description for Restaurant Activity:

Attributes:

Orders Menu Items, Reviews.

Purpose: Display List of options

 Description List Orders Activity:

Attributes:

Button Pending, Button completed.

Purpose:

Action information is displayed to the Restaurant. 

Description for Review class:

Attributes:

List Reviews, Rating Bar.

Purpose:

Displays the list of action based on category. 

Description for Menu Items class:

Attributes:

List all Items, Button Back, Button check.

Purpose:

Displays the list of actions based on a task created 

Description for Pending Order Activity class:

Attributes:

List pending Order

Purpose:

Help the Restaurant to create a new action. 

Description for Selected Items class:

Attributes:

List Selected Items, Button Back.

Purpose:

Asks the user to enter the action information.

Description for Items Details class:

Attributes:

Edit text cost, Item number, Radio group status, Button Submit, Button Cancel.

Purpose:

Display the Details to the user. 

Description for Order Details class:

Attributes:

ID No, User Name, User Phone No, Items, PNR No, Cost

Purpose:

Used to display user details category.

Description for PNR status class:

Attributes:

Passenger Date, Coach, Train No, Berth No.

Purpose:

Used for user details for the order delivery for a new task.

Description for Train Details class:

Attributes:

Web view

Purpose:

Used for knowing the current running status of the train.

Description for the User Activity:

Attributes:

Station, spinner, get Button

Purpose:

Used to create a new task by the user.

Description for the List of Restaurant class:

Attributes:

Name, Rating, List of  Restaurants.

Purpose:

Displays the list of Restaurants. 

Description of the Restaurant Items class:

Attributes:

List items, cost, items name, checkbox, write a review, Button next.

Purpose:

Displays items available at the restaurants and to create a new category.

Description of the Write Review class:

Attributes:

Edit description, rating, submit.

Purpose:

Displays reviews of the user for the restaurants. 

Description of the List Items class:

Attributes:

List Items, cost, Button cancel , order now.

Purpose:

Displays the list of items.

Sequence Diagram:

Collaboration Diagram for FoodApp:

For creating Orders and User Actions from it:

Collaboration Diagram for Creating Orders:

For creating Receiving Order to User Action:

Collaboration Diagram for Receiving Orders:

Activity Diagram: