Skip to content

Latest commit

 

History

History
67 lines (51 loc) · 1.58 KB

README.md

File metadata and controls

67 lines (51 loc) · 1.58 KB

Bubble Bop - Food Dine In

A Hotel Management system that takes the orders for each table, based on scanning the QR code available at the table.

A project for a Hackathon conducted by https://ineuron.ai

Installation

git clone https://github.com/Shades-en/Bubble-Bop-Food-Dine-In.git
cd ineuron
pip install -r requirements.txt

Usage

(Replace the caps words with appropriate paramenters in the files)

ineuron/settings.py

DATABASES = {
        'default': {
            'ENGINE': 'djongo',
            'NAME': 'YOUR_DATABASE_NAME',
            'CLIENT': {
                'host': 'CONNECTION_LINK' #YOUR_MONGODB_CONNECTION_LINK
            }  
        }
}

dineIn/utils.py

client = MongoClient('CONNECTION_LINK',maxPoolSize=50, wTimeoutMS=2500) #atlas connection
db = client['YOUR_DATABASE_NAME']
food_collection=db['DATABASENAME_foodmenu']
user_collection=db['DATABASENAME_user']
table_collection=db['DATABASENAME_table']
bill_collection=db['DATABASENAME_bill']

dineIn/views.py

sender_email = "YOUR_SENDER_EMAIL" # Enter the sender email address
password = "APP_PASSWORD" #app password

BASH

py manage.py makemigrations
py manage.py migrate
py manage.py runserver

Load the .json files (table.json, foodmenu.json) into DATABASENAME_table and DATABASENAME_foodmenu.

Contributors For Frontend

Tech Stack

Client: HTML, CSS, Javascript

Server: Python(Django), MongoDb