/pizzeria

Primary LanguageTwigOtherNOASSERTION

Pizzeria PHP

Assunzioni aggiuntive:

  • L'utente non contiene i dati di indirizzo (contentuti invece nell'ordine), in quanto un cliente potrebbe trovarsi in un luogo diverso da quello di casa

Schema E/R

FRONT-END:

Made with Twig HTML and Bootstrap Framework 5.1

BACK-END:

Made with PHP and Twig HTML Engine

Twig allow to create template of html (see /templates) and to render them

DATABASE:

SQL query used to create the table of the form:

check init.sql file

Queries are PREPARED STATEMENTS

This prevents SQL injections from happening

To Run:

Requirements:

Then to install dependencies run:

    composer install

after that you can simply run a php server, for example using php command with the following values:

    php -S {address}:{port} -t ./src

TO DO:

  • App personalized pizza
  • Add recipt
  • Add admin page
  • Add deliverer page

Copyright © Alexandru Nechita, 2022

Creative Commons License
This work is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License

alexandru.italia32@gmail.com