Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.
/ pizza-time Public archive

A high-school project I made in 2021. This is not something I would want to keep updated.

License

Notifications You must be signed in to change notification settings

Gabixel/pizza-time

Repository files navigation

Pizza Time 🍕

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.

Notes

  • 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 .less files. 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

Known Errors / Issues — Forgive me, it was my first (and last) big project for school

  • 503 page 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 ¯\_(ツ)_/¯

Specific instructions when testing the project locally

  • 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 htdocs one provided by XAMPP, inside the httpd.conf file (on Windows, its default location is C:\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 .php and .html files without specifying the extension (e.g. you would like to see the URL localhost/home instead of localhost/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 .htaccess file in your own server. If it's hosted locally, use the httpd-xampp.conf file (Windows default: C:\xampp\apache\conf\extra)

About

A high-school project I made in 2021. This is not something I would want to keep updated.

Topics

Resources

License

Stars

Watchers

Forks