Skip to content

Our proposed solution Sintegrate in HackUST is designed for the catering industry to implement an online ordering platform. It can calculate the ETA based on the locations of customers and restauarnt. By knowing ETA in advance, restaurants can manage take-away, dine-in orders efficiently.

Notifications You must be signed in to change notification settings

Andrew-FungKinHo/Dynamic-Queuing-Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sintegrate by Slack Overflow (Team No.: Team163)

The project Sintegrate in HackUST is designed for catering industry to implement a online ordering platform. It can calculate the ETA based on the locations of customers and restauarnt. By knowing ETA in advance, restaurants can manage take-away, dine-in orders efficiently.

UI/UX template design: https://www.figma.com/proto/uHcpL3mVZhMhRz6NrOWgua/HackUST?node-id=16%3A1159&scaling=scale-down&page-id=0%3A1

A quick look at our main interfaces for searching and placing order

Homepage Reserve Now
Image of UI-1 Image of UI-2

The list of orders from the restaurant's view: Dynamic Table

Requirement

Python version >= 3.6

pip install -r requirement.txt

Setup

You will need an API key to be able to display the data on the Google Maps interface. For registration, go to: https://console.developers.google.com/?hl=zh-tw and make sure to enable Google Maps API and Geocoding API.

With a valid key, go to settings.py and type PLACES_MAPS_API_KEY to the your actual token in the html input and you will able to view the results.

To start running the proejct, use the following commands in terminal:

python manage.py runserver

To make migratiton in models, ctrl + c to stop the server, and then use the following commands:

python manage.py makemigrations

python mange.py migrate

After the migration, use the runserver command to restart the server.

Customer View

The customer view can be found in 127.0.0.1:8000/

Admin View

The admin view can be found in 127.0.0.1:8000/admin

The order list can be found in 127.0.0.1:8000/order

To create super user, first ctrl + c to stop server.

Then go to terminal and use the following commands:

python manage.py makesuperuser

After following the instructions and input the userid, password, restart server.

Visit the admin page using the super user id and password. Then you can add instances for testing.

About

Our proposed solution Sintegrate in HackUST is designed for the catering industry to implement an online ordering platform. It can calculate the ETA based on the locations of customers and restauarnt. By knowing ETA in advance, restaurants can manage take-away, dine-in orders efficiently.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •