Skip to content

WildCodeSchool/orleans-php-202103-project-javoy

Repository files navigation

Simple MVC

Description

Projet Team Javoy.

Partie visiteur => Voir les produits dispo afin de passer commande. Suivre les actualités. Connaitre le savoir-faire

Partie admin => Ajouter/ modifier/ supprimer produit Ajouter/ modifier/ supprimer actualité gérer les commandes

Steps

  1. Clone the repo from Github.
  2. Run composer install.
  3. Create config/db.php from config/db.php.dist file and add your DB parameters. Don't delete the .dist file, it must be kept.
define('APP_DB_HOST', 'your_db_host');
define('APP_DB_NAME', 'your_db_name');
define('APP_DB_USER', 'your_db_user_wich_is_not_root');
define('APP_DB_PWD', 'your_db_password');
  1. Import JavoyDb.sql in your SQL server,
  2. Create folder " uploads " at "orleans-php-202103-project-javoy/public/uploads"
  3. Run the internal PHP webserver with php -S localhost:8000 -t public/.
  4. Go to localhost:8000 with your favorite browser.

Example

An example (a basic list of items) is provided (you can load the simple-mvc.sql file in a test database). The accessible URLs are :

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5