Skip to content

nameisluv/Bubble-Bop-Food-Dine-In

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A hackathon Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 47.6%
  • JavaScript 34.3%
  • HTML 10.4%
  • Python 7.5%
  • Dockerfile 0.2%