Skip to content

🛒 [2019/2020] Creation of an e-commerce site for my bts exam. I had to integrate a connection service for the client as well as create the Choptaphoto database and implement the reservation of photo terminals / purchase of photo albums

Grezor/ChopTaPhoto_2020

Repository files navigation

choptaphoto

Information

⚠️ Attention, the project is no longer up to date. I'm fixing the problems

Introduction

As part of our schooling, we are led to make projects. This project consists of creating an e-commerce site, allowing to rent and buy photo terminals, in order to respond to events such as weddings, birthdays, integration day, trade fairs, conferences, events .....

Installation

For the installation of the project everything is explained in the chapters folder, then the installation directory.

Technologies

HTML, CSS, JS
- PHP ^7.4 / 8.0
- MYSQL^

Start

  • On Github, go to the main page of the project
  • Open a terminal, or git bash
  • Replace the current working directory with the location where you want to clone it.
  • Type git clone https://github.com/Grezor/ChopTaPhoto_2020.git
  • Press on Entry
  • put the project in (wamp) in the www directory.
  • open your phpmyadmin, insert the file database.sql. In the database folder of the project.
  • create file db.php in the folder include
  • add this code :
// file db.php
<?php 
$pdo = new PDO('mysql:dbname=choptaphoto;host=localhost', 'root', '');
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$pdo->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ);

Illustration

API

API is an acronym for Applications Programming Interface. An API is therefore a programming interface that allows you to "plug in" to an application to exchange data. It operates on an input/output agreement, it is a distribution channel. A API is open and offered by the program owner. It is a concept and an intangible element.

method url response
[GET] http://localhost:8000/app/api/category/read.php Status: 200 OK
[GET] http://localhost:8000/app/api/product/read.php) Status: 200 OK
[GET] http://localhost:8000/app/api/user/read.php Status: 200 OK

Functionality

Use

Project status

❌ - the project has problems

Contribute

It's hard. It's always hard the first time you do something. Especially when you are collaborating, making mistakes isn't a comfortable thing. We wanted to simplify the way new open-source contributors learn & contribute for the first time.

Reading articles & watching tutorials can help, but what's better than actually doing the stuff in a practice environment? This project aims at providing guidance & simplifying the way beginners make their first contribution. If you are looking to make your first contribution, follow the steps below.

Author

Duplessi Geoffrey

phpcs :

- phpcbf
- phpcs

About

🛒 [2019/2020] Creation of an e-commerce site for my bts exam. I had to integrate a connection service for the client as well as create the Choptaphoto database and implement the reservation of photo terminals / purchase of photo albums

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages