/Croc-Express

A website to add in shopping cart, order, consult products.

Primary LanguagePHPMIT LicenseMIT

Croc Express

๐Ÿ• Croc Express ๐Ÿ”

Github top language Github language count Repository size License

About   |   Features   |   Technologies   |   Requirements   |   Importation   |   Starting   |   License  


๐ŸŽฏ About

  • PHP Version : 8.2
  • Dependencies used :
  • Depends on a Database
  • Every adding and edit of the shopping cart is done with fetch
  • The project architecture is in MVC

โœจ Features

User Side :

โœ”๏ธ Log in / Create an account
โœ”๏ธ Edit your profile / Log out
โœ”๏ธ Add a product or a menu to the shopping cart
โœ”๏ธ Look, Edit, Validate (with or without delivery) your shopping cart
โœ”๏ธ Consult your orders et download if needed every order in PDF
โœ”๏ธ Send a message to the administrators

Administrators Side :

โœ”๏ธ Consult every order of all the users and download if needed every order in PDF
โœ”๏ธ Consult your sales revenues and your flagship products or menus during the last 7 days
โœ”๏ธ Add / Edit / Delete products, menus, foods and categories
โœ”๏ธ Create / Edit / Delete coupons

๐Ÿš€ Technologies

The following technologies were used for this project :

โœ… Requirements

Before starting ๐Ÿ, you need composer and git installed.

โฌ‡๏ธ Importation

Import the Database

  1. In PHPMyAdmin create a database called croc_express
  2. Collect the database with the example datas in the folder database/models/
  3. Drag and drop the file croc_express.sql in the database croc_express on PHPMyAdmin

๐Ÿ” Configuration

Configure the config file

  1. Edit config.example.php with the Database's name (DATABASE) and the Project's name (PROJECT_NAME)
  2. Rename config.example.php to config.php

๐Ÿ Starting

# Clone the project
$ git clone https://github.com/Raxuis/Croc-Express.git

# Go to the project's root folder
$ cd Croc-Express

# Install the dependencies
$ composer install

# Use MAMP/XAMP/LAMP or WAMP and start the server

# The server will initialize at the URL <http://localhost:8888/>

# Then, go to the URL <http://localhost:8888/Croc-Express/public/>

# Everything should work perfectly fine ๐Ÿ˜ƒ

โš ๏ธ To be sure that everything works you can wipe the session of localhost thanks to the path ?page=killall.

Connection datas

Different datas are included in the database to be able to try the website. Orders were also placed using the administrator's account.

Administrator account

  • Email : admin@admin.fr
  • Password : password

User account

  • Email : user@user.fr
  • Password : password

๐Ÿ“ License

This project is under MIT license. For more details, check the LICENSE.

Made with โค๏ธ by Raphaรซl and Benoรฎt

 

Go back to top