42's mini-project, simple boutique website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Fabien Stadelwieser 0dfa0b47c9 Typo fix 10 months ago
asset Readme done 10 months ago
src Overall refresh 10 months ago
.env Overall refresh 10 months ago
.gitignore Overall refresh 10 months ago
Dockerfile Overall refresh 10 months ago
Makefile Overall refresh 10 months ago
README.md Typo fix 10 months ago
docker-compose-dev.yml Readme done 10 months ago
docker-compose.yml Readme done 10 months ago

README.md

Minishop

Yet another online store.

Realized with :

  • PHP (MVC)
  • PhpMyAdmin
  • MySQL (mysqli)
  • Docker-compose

Showcase

Home screen

Category selected

Signin

PhpMyAdmin

User admin

Item admin

Install

Dependancy

  • Docker
  • Docker-compose
  • Make

Dev

git clone ssh://git@git.42l.fr:42084/Fabien/minishop.git
cd minishop
make dev

Now go to http://localhost:8080/install to initialize the db with random stuff.

You can now access phpmyadmin (http://localhost:8081) and the website (http://localhost:8080).

Prod

Suppose you want to put this in prod (you don't), you need to create a file named secret.env that contain the same variable as .env with your values.

cp .env secret.env
vi secret.env # modify at least the password
make run

Now fill the db with interesting articles.

Credit

Student project for School 42.

This project was done with the help of cyfelbac and rahassin.

Most of the css come from bulma.

Final Grade: 115/125