A high-school project I made in 2021.
The project was tested using XAMPP (Apache and MySQL services).
You can see an almost complete design draft (almost all in Italian) in the Figma file. If you want you can have a copy and get ideas from that.
The "production" website is hosted on AlterVista.
- The website can store users through a registration process. There sould probably be some consent for this but the entire project is just for demonstration purposes, so there's probably no need to do anything specifically. You can always test with a dummy account.
- You can see only
.lessfiles. You have to compile them. I use an extension in Visual Studio Code called Easy LESS. - The position and the photos have been taken from Google Images and an italian pizzeria called "Mondopizza da Ale".
- SQL credentials are empty (of course)
- Yes, there's a small easter egg. It's just a private joke with friends
503page has no translation- Some page and image file names are in Italian
- The code in the production website is not obfuscated
- Invoice process / user history is totally missing due to time constraints during implementation
- The login page is not very stylised, again due to time constraints
- There are some TODOs left, and there they will remain ¯\_(ツ)_/¯
-
You should import the SQL dump I made in
initial_import.sql: it contains all basic tables (including pizza ingredients and menu items). -
If you store the project in a subfolder / in a different directory from the
htdocsone provided by XAMPP, inside thehttpd.conffile (on Windows, its default location isC:\xampp\apache\conf) you should specify this instruction (or update the existing one). Without this, the root folder is different from the one that the website expects.DocumentRoot "your/project/full-path/folder" -
To allow redirects to the
.phpand.htmlfiles without specifying the extension (e.g. you would like to see the URLlocalhost/homeinstead oflocalhost/home.php):<Directory "your/root/folder"> # default directory is "C:/xampp/htdocs" (on Windows) <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule (.*) $1.php [L] RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule (.*) $1.html [L] </IfModule> </Directory>
This should be placed in the
.htaccessfile in your own server. If it's hosted locally, use thehttpd-xampp.conffile (Windows default:C:\xampp\apache\conf\extra)