Skip to content

ip-group-project-techieland created by GitHub Classroom

Notifications You must be signed in to change notification settings

iuthub/Tandir-res.uz

Repository files navigation

**Initially there were more than 94 commits.
They have been accidentally restored because of attemts to rebase master branch to newer one.
We knew that it's risky so did some screenshoots
Screenshoot 1
Screenshoot 2
Also it's recommended to test this project on localhost. Try instructions given below.

Build Status Total Downloads Latest Stable Version License

Tandir is a software solution for cafe and restourant businesses made in Laravel framework and made with ♥ by 1Techieland™

  • Simple
  • Powerful
  • User-friendly
  • Open source

PS: Tandir brand name has created by Techieland for this assignment only (we haven't checked weather this brand name is available out there or not) and we have craeted simple logo for this.

1 Techieland

Techieland is our teamname who creates software solutions for businesses.

We tried to treat this assignment process as real as possible.

How to clone and work on your local machine or use it on your host?

  • Pre-requirements:
  1. Install XAMPP
  2. Install Composer
  3. Install GIT
  • Steps to run the software on your local machine:
  1. Clone this repository to "xampp/htdocs" directory.
  2. Open PowerShell and run commands below step by step.
  3. php -r "file_exists('.env') || copy('.env.example', '.env');"
  4. composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
  5. php artisan key:generate
  6. Run MySQL server via XAMPP
  7. Create Data Base and name it "laravel"
  8. Change properties in .env file as follows
DB_CONNECTION=mysql
DB_HOST=127.0.0.1 (or alternative host)
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root (by default, but if you have another username write it)
DB_PASSWORD= (by default empty, if you have password write it there)
  1. On PowerShell and run
php artisan migrate
  1. Run Apache and MySQL Servers and enjoy!

**We are planning to do a Docker image for that app, so in the near future new version will be available on DockerHub also. After release you will need to just pull the image and run container.

How to use it as a Client

  • It's really easy!
  • Reserve a table and pre-order dishes righ away from site!
  • You can do it in 3 steps!
  1. Open Home page, click red "Order Now" button
  2. Fill the form for reservation and go down.
  3. If you want, you can pre-order dishes for a reserved day or just click "Comlete" button and complete reservation process!

How to use it as an Administrator

  1. Open tandir-res.uz/admin
  2. Log-in.
  3. View and analyse all tables about your business.
  4. Create/edit/delete some features from your products list.
  5. Create/edit/delete users and admins.
  6. Approve the order and send email service.

Migrations

Tools used

  1. dbdiagram.io - web-site for drawing EER Diagrams
  2. phpMyAdmin
  3. MariaDB | MySQL
  4. Mockgaroo - generator of dump information

Tables

Roles
id
role
is_admin
users
id
image
role_id
username
password
first_name
last_name
phone_number
email
category
id
name
description
portion_units
meals
id
name
image
category_id
price
portion
is_available
ingredients
orders
id
first_name
email
phone_number
number_of_people
date
time
total_price
is_approved
approved_by
meal_orders
id
order_id
meal_id
quantity
order_time
total_price

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •