Skip to content

MissZou/food-ordering-by-zwy-liyan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

food-ordering-by-zwy-liyan

Dissertation in HKU. Developing a food ordering system which is a copycat of ele and Meituan waimai.

This program is not mean to plagiarize but exercise.

Front-end: iOS native App, PC and mobile web page. Back-end: Node.js + mongodb.

iOS is built in Objective-C(FOSinOC). I have write a swift version but I do not update it for a long time.

iOS App need to set up node.js server to run fully or you can annotation code at

LoginViewController.m - (IBAction)loginButtonClicked:(id)sender

And can log into the app.


这个项目是作为在香港大学授课试硕士的一个小毕业设计,我们模仿饿了么美团外卖写了一个类似的订餐软件。做这个项目是为了更多的练习。

我负责iOS的全部开发和80%的Node.js开发。


Now the iOS Objective-C version looks like:

Login and tutorial view.

tutorial view

MainView, could search shop by location.

Alt Text

Old detailedshopView, too many bugs and now been replaced by a new one.

Alt Text

Add/delete item in cart.

Alt Text

Food view

Alt Text

Place order view

Alt Text

###So far we have done

Node.js

User Schema/Router could perform:

register
forgotPassword
changePassword
login
Account
findAccount
findAccountById
uploadAvatar
addAddress
updateAddress
deleteAddress
addLocation
deleteLocation
addItemToCart
findCartItem
findCartItemById
modifyItemToCart
deleteItemOfCart
addOrder
deleteOrder
findOrderByUserId
addFavoriteShop
findFavoriteShop
deleteFavoriteShop,
addFavoriteItem
findFavoriteItem
deleteFavoriteItem

Shop Schema/Router could perform:

createShop
findShop
findShopById
changeShopInfo
uploadShopCover
addDish
changeDishInfo
forgotPassword
changePassword
login
addDishPic
queryNearShops
findNearShops
findShopByName
findShopsAndDishs
findItemById
addOrder
findOrderByShopId

Order Schema could perform:

addOrder
changeOrderStatus

##Infomation Architecture

Red blocks need further development.

Node.js

Node.js-IA.png

iOS

iOS-IA.png