Skip to content

Website for a second-hand marketplace with responsive, interactive and dynamically-generated webpages, featuring a REST API and a custom PHP framework

Notifications You must be signed in to change notification settings

HenriqueSFernandes/Trinted

 
 

Repository files navigation

Trinted

Group ltw15g02

  • Bruno Ricardo Soares Pereira de Sousa Oliveira (up202208700) 33%
  • Henrique Sardo Fernandes (up202204988) 33%
  • Rodrigo Albergaria Coelho e Silva (up202205188) 33%

Install Instructions

Cloning the project

git clone https://github.com/FEUP-LTW-2024/ltw-project-2024-ltw15g02
git checkout final-delivery-v1

Running the project (without script)

sqlite3 db/database.db < db/create.sql
sqlite3 db/database.db < db/populate.sql
tsc
php -S localhost:9000 &
xdg-open localhost:9000

Running the project (with script)

./run.sh

External Libraries

We have used the following external libraries:

  • php-gd

Screenshots

image image image image image

Implemented Features

General:

  • Register a new account.
  • Log in and out.
  • Edit their profile, including their name, username, password, and email.

Sellers should be able to:

  • List new items, providing details such as category, brand, model, size, and condition, along with images.
  • Track and manage their listed items.
  • Respond to inquiries from buyers regarding their items and add further information if needed.
  • Print shipping forms for items that have been sold.

Buyers should be able to:

  • Browse items using filters like category, price, and condition.
  • Engage with sellers to ask questions or negotiate prices.
  • Add items to a wishlist or shopping cart.
  • Proceed to checkout with their shopping cart (simulate payment process).

Admins should be able to:

  • Elevate a user to admin status.
  • Introduce new item categories, sizes, conditions, and other pertinent entities.
  • Oversee and ensure the smooth operation of the entire system.

Security:

We have been careful with the following security aspects:

  • SQL injection
  • Cross-Site Scripting (XSS)
  • Cross-Site Request Forgery (CSRF)

Password Storage Mechanism: PHP password_hash and password_verify

Aditional Requirements:

We also implemented the following additional requirements:

  • PHP Framework
  • REST API Integration
  • Real-Time Messaging System
  • User Preferences
  • Analytics Dashboard
  • Shipping Costs

Class: 2LEIC15 Group: G02
Final Grade: 18.6
Professors: André Restivo
Created in March 2024 for LTW (Linguagens e Tecnologias Web) [FEUP-L.EIC019]

About

Website for a second-hand marketplace with responsive, interactive and dynamically-generated webpages, featuring a REST API and a custom PHP framework

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PHP 52.8%
  • JavaScript 19.8%
  • TypeScript 17.0%
  • CSS 10.2%
  • Shell 0.2%