Skip to content

Latest commit

 

History

History
67 lines (51 loc) · 1.76 KB

README.md

File metadata and controls

67 lines (51 loc) · 1.76 KB

ltw-t15-g04 - Take-Away Restaurants Platform

2021/2022 - 2nd Year, 2nd Semester

Course - LTW (Linguagens e Tecnologias Web)

Project developed by

  • David Marques (up201905574)
  • Isabel Amaral (up202006677)

Project Description

The goal of this project was to create a website where restaurants can list and offer their menus for take-away. To create this application, students should:

  • create a SQLite database
  • create documents using HTML and CSS representing the application's web pages
  • use PHP to generate those web pages after retrieving/changing data from the database
  • use Javascript to enhance the user experience

Instructions to Run the Project

Open a terminal on the project's root folder and run:

php -S localhost:8000

In your browser, go to http://localhost:8000/.

Credentials

isabel123 / helloworld
firstowner / helloworld
secondowner / helloworld

Implemented Features

Some of the features were required in the project's description - here. Of the mandatory features everything was accomplished:

  • Register
  • Login/Logout
  • Edit Profile
  • Add Restaurant
  • Edit Restaurant
  • Add Dishes
  • Add Dish Photo
  • List Reviews
  • Customer Can Leave a Review
  • Restaurant Owner Can Answer to Review
  • Change Order State
  • Search Restaurants by Name
  • Search Restaurants by Category
  • Order Dishes
  • List My Orders
  • Mark Restaurant as Favourite
  • Mark Dish as Favourite
  • Responsiveness

Security Features

The website is protected against the following attacks:

  • SQL Injection
  • XSS

and it uses good password storage principles.