-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added cancellation order button (#18)
Added cancellation order button
- Loading branch information
Showing
10 changed files
with
93 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*.db | ||
static/ | ||
templates/ | ||
__pycache__ | ||
__pycache__ | ||
venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
certifi==2019.11.28 | ||
chardet==3.0.4 | ||
Click==7.0 | ||
docopt==0.6.2 | ||
Flask==1.1.1 | ||
Flask-JWT-Extended==3.24.1 | ||
Flask-SQLAlchemy==2.4.1 | ||
idna==2.8 | ||
itsdangerous==1.1.0 | ||
Jinja2==2.10.3 | ||
MarkupSafe==1.1.1 | ||
pipreqs==0.4.10 | ||
PyJWT==1.7.1 | ||
requests==2.22.0 | ||
six==1.14.0 | ||
SQLAlchemy==1.3.13 | ||
urllib3==1.25.8 | ||
Werkzeug==0.16.0 | ||
yarg==0.1.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,42 @@ | ||
# DINE-IN | ||
<p> | ||
<h1 align="center">DINE-IN</h1> | ||
</p> | ||
<p align="center"><img width="500px" height="300px" src="https://github.com/kbindra/DINE-IN/blob/K-xoxo-commits/Hotel%20app/screenshots/logo.gif" /> | ||
</p> | ||
Customers Place order while scanning QR code on tables , Check menu and place orders. Hotel Manager / staff checks the orders and serve it to customers . Customers check out with payment. | ||
|
||
## Getting Started | ||
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. | ||
|
||
### Prerequisites | ||
Requires Nodejs and Python3 to run locally. See instructions to setup [Python3](https://www.python.org/downloads/) and [Nodejs](https://nodejs.org/en/download/) . | ||
|
||
### Installation | ||
#### Frontend(React) | ||
* Clone the repository in a folder and write the following commands | ||
``` | ||
1.git clone https://github.com/WooTechnology/DINE-IN.git | ||
2.cd DINE-IN/Hotel App/frontend/ | ||
3.npm install | ||
``` | ||
* Start Development Server | ||
``` | ||
4.npm start | ||
``` | ||
Open [localhost:3000](https://localhost:3000) | ||
#### Backend(Flask) | ||
* Setup virtual environment | ||
``` | ||
1.pip install virtualenv | ||
2.virtualenv venv --python=python3.6 | ||
3.source venv/bin/activate | ||
``` | ||
* Install all dependencies | ||
``` | ||
pip install -r requirements.txt | ||
``` | ||
* Run Server | ||
``` | ||
python3 app.py | ||
``` | ||
|