Skip to content

Latest commit

 

History

History
executable file
·
97 lines (73 loc) · 2.8 KB

README.md

File metadata and controls

executable file
·
97 lines (73 loc) · 2.8 KB

Logo

Jordi Llopis García

My second web project

About the project

This website is made as a class project. Is an online shop of computers and other tech products,it accomplishes the main functions
of an e-commerce page with admin and client functions.

Built With

Architecture

  • MVC - Model View Controller

Technologies

Libraries

Services

  • Mailgun - Used in mail system.
  • Auth0 - Authentication & authorization platform.

Modules

Page Features
Home Filter Search with redirect to shop, list popular products with pagination, likes, add to cart, autoredirect to details
Shop List with pagination, details, likes, add to cart
Products view Product information, add to cart, likes
Likes User Likes, middleware to not logged users, working in all application
Contact Contact mails
Login Register, login, logout, JS/PHP validation, JWT, custom img, menu, regenerate tokens, middleware to not logged users, Auth0 login with Github and Google
Cart Stored in database, JS/PHP validation, checkout, increase & decrease, quantity controlled, redirect to details, shows last purchase, working in all application

Framework PHP

Summary

  • It's a kind of API that controlls the access to the DDBB.

Consists of

  • FrontController - Work as a router of the framework and handle all the calls.
  • ControllerCore - Main class that build the queries.
    • ApiController - Controlls the actions depending on the type of the call.
    • ModelController - Call the ControllerCore to build the query.
  • DB and it's Config - They has the functions to get access to DB.

Features

  • Autoload for the classes of the framework.

TODOs

  • [] Improve CSS
  • [] Fix the GMaps incompatibility problems.

License

Distributed under the GPL 3.0 License. See LICENSE for more information.