FINAL YEAR PROJECT RESTAURANT MANAGEMENT SYSTEM
-
Git clone it to htdocs(if on windows) and name the folder RestaurantManagementSystem (important to follow this name)
-
Create config Folder in root directory
-
In config/index.php
define('DB_USERNAME', 'dbusername'); //your phpmyadmin username
define('DB_PASSWORD', 'dbpassword'); //your phpmyadmin password
define('DB_NAME', 'restaurant-management-system'); //set this to db name
-
In config/site-settings.php
define('API_URL', '/RestaurantManagementSystem/api');
define('ORDER_GENERATE_KEY', 'f5c12ffc46104589b3e0a889448bf8ce'); //some random string
-
In Js folder create module/config.js file
const baseUrl = "/RestaurantManagementSystem"; // Replace with your actual base URL
const apiUrl = "/RestaurantManagementSystem/api"; // Replace with your actual api URL
export { baseUrl, apiUrl}; -
Screenshot of the folders https://ibb.co/sJXCZtW
-
Go to PHPMYADMIN and create a database by the name of restaurant-management-system
-
Import Sql/Final.sql into PHPMYADMIN.
-
Admin login
Username: admin1
Password: defaultpassword
URL: /RestaurantManagementSystem/admin