Skip to content

BhartiMisha/food-delivery

Repository files navigation

🥘 food-delivery

Foodopedia is a website providing users to order there convenient food from the active and featured categories.
Admins can perform the following things

  • Add, delete or update admins
  • add, delete or update food and categories

Installation

  1. Download Xammp using the link. Click Here to Download

  2. Install any Text Editor (Sublime Text or Visual Studio Code or Atom or Brackets)

  3. Download as a Zip or Clone this project

  4. Move this project to Root Directory

Local Disc C: -> xampp -> htdocs -> 'this project'

Local Disk C is the location where xampp was installed

  1. Open XAMPP Control Panel and Start 'Apache' and 'MySQL'

  2. Import Database

a. Open 'phpmyadmin' in your browser b. Create a Database c. Import the SQL file provided with this project

  1. Make Changes to settings

Go to 'config' folder and Open 'constants.php' file. Then make changes on following constants

<?php 
//Start Session
session_start();

//Create Constants to Store Non Repeating Values
define('SITEURL', 'http://localhost/Name-of-your-database/'); //Update the home URL of the project if you have changed port number or it's live on server
define('LOCALHOST', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'Name-of-your-database');
    
$conn = mysqli_connect(LOCALHOST, DB_USERNAME, DB_PASSWORD) or die(mysqli_error()); //Database Connection
$db_select = mysqli_select_db($conn, DB_NAME) or die(mysqli_error()); //SElecting Database 

?>
  1. Now, Open the project in your browser. It should run perfectly.

Software Used

  • Html and css for(UI)
  • php
    • The simplicity of coding, easy learning, and a faster approach makes PHP a lot better than the other complex programming languages. PHP is an open source language, making web development an efficient and more interactive task for the developers.

Developers

  • Misha Bharti developed the UI of the website .
  • Ritik Dubey developed the Database and query for the backend.

Future updates

  • Users can have the facility of tracking their order

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published