GithubHelp home page GithubHelp logo

projet-web-s5's Introduction

TP Final Web

Auteurs / Développeurs

Alban LACAILLE
Louis PEIZERAT

Installation

Importer le script 'projetweb.sql'

identifiant : root
password : null
database_name : projetweb

Action possible

Connexion

http://localhost/index.php?action=login

Affiche la page de connexion et traite le formulaire associé

Deconnexion

http://localhost/index.php?action=logout

Déconnecte l'utilisateur courant et redirige vers la liste des produits

Inscription

http://localhost/index.php?action=register

Affiche la page d'inscription et traite le formulaire associé

Liste des Produits

http://localhost/index.php?action=products&cat=x
cat=ID de la catégorie (Toutes si non spécifié)

Affiche la liste des produits

Produit

http://localhost/index.php?action=product&id=x
id=ID du produits

Affiche la page d'un produit

Panier

http://localhost/index.php?action=cart

Affiche le panier

Administration

http://localhost/index.php?action=admin

Affiche la liste des commandes triées par Date et par statut de paiement

Ajouter au Panier

http://localhost/index.php?action=addToCart

Ajoute un produit au panier (Passer par requête POST)

Editer le Panier

http://localhost/index.php?action=editCart

Modifie la quantité d'un produit dans le panier et le supprimer si nécessaire (Passer par requête POST)

Supprimer du Panier

http://localhost/index.php?action=removeCart

Supprimer un produit du Panier (Passer par requête POST)

Adresse de Livraison

http://localhost/index.php?action=delivery[&id=x]
id=ID de l'adresse de livraison si le client est connecté

Affiche le formulaire de saisie d'adresse et l'adresse du client si il est connecté et traite le formulaire associé

Valider une Commande

http://localhost/index.php?action=validate&id=x
id=ID de la commande à valider

Permet à l'administrateur de validé une commande

Paiement

http://localhost/index.php?action=payment&id=x
id=ID de la commande à payer

Affiche la page de paiement pour une commande

Facture

http://localhost/index.php?action=download&id=x
id=ID de la commande

Édite et télécharge la facture associé à une commande

Relancer

http://localhost/index.php?action=revive&id=x
id=ID de la commande

Permet à l'administrateur d'envoyer un mail au client si la commande est enregistrée mais non payée

Paypal

http://localhost/index.php?action=paypal&id=x
id=ID de la commande

Enregistre le paiement de la commande (Lien avec Paypal non implémenté) et redirige vers la page de remerciement depuis laquelle il sera possible de télécharger la facture

Cheque

http://localhost/index.php?action=cheque&id=x

Enregistre le paiement de la commande et redirige vers la page de remerciement depuis laquelle il sera possible de télécharger la facture

Erreur

http://localhost/index.php?action=error&error=x
error=code d'erreur

Affiche une page d'erreur avec une description

Frameworks

  • Bootstrap
  • JQuery
  • FontAwesome 5
  • FPDF

projet-web-s5's People

Contributors

alban098 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.