A modern, responsive cafe/restaurant website with a public site and an admin panel — curated and maintained by Niyati Raiyani.
Live Demo: https://food-restaurant.infinityfreeapp.com/
- Dynamic homepage with banners and sections (About, Services, Team, Food, Contact)
- Admin panel for managing banners, services, team, food, photo gallery
- Image lightbox gallery and sliders
- Clean URL routing via
.htaccess - Configurable environment with production overrides via
config/secrets.php
- Start Apache and MySQL in XAMPP.
- Copy this repo into
C:\\xampp\\htdocs\\finalsohtdocs\\final\\index.phpexists. - Create a MySQL database (e.g.,
hotel) in phpMyAdmin. - Import
database/project.sql(and optionallydatabase/migrations/*.sql). - Open
http://localhost/final/(site) andhttp://localhost/final/admin/(admin).- Admin login: username
admin, passwordadmin123.
- Admin login: username
-
config/config.phpauto-detectsBASEURLand sets sensible defaults. -
Create
config/secrets.phpto override DB and environment for production:<?php define('HOSTNAME','your-db-host'); define('USERNAME','your-db-user'); define('PASSWORD','your-db-pass'); define('DB','your-db-name'); define('ENVIRONMENT','production'); define('DEBUG_MODE',false); ?>
- Upload the contents of
finalintohtdocs/. - Create a MySQL database in the Control Panel and import
database/project.sqlvia phpMyAdmin. - Add
config/secrets.phpwith your DB credentials (see above). - Browse your site at your InfinityFree domain.
modules/— frontend modules (banner, about, services, team, food, contact)admin/— admin panel (modules, public assets)public/— site assets (css, js, images)libs/— core libraries (Db wrapper, managers)database/— SQL dump and migrationsconfig/— base config and secrets override
© 2025 Food Chef. All rights reserved | Developed by Niyati Raiyani


