From 450321aa496946e2ba369e969683361f1ce290c7 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Fri, 13 Jul 2018 22:09:30 +0200 Subject: [PATCH] Added requirements and specifications --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 6e0e532..34c7742 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,28 @@ # coding-challenge-online-shop Coding challenge for a online shop +# requirements +1. Create a web application with PHP which works like a really small online shop. +2. Create a database with at least 20 products automatically per script. +3. Create a product listing which display all products from the database. The following information are required: + - price net and gross + - image + - product name + - color +4. Add a “to the basket” button to each product in the listing. +5. Make the product basket work and display all products which are in the basket as a list with +small images. +6. Create a login and registration with e-mail address, password and a name. +7. The login should be session based. +8. Crete a checkout where the user have to be logged in. +9. The user should be able to choose between 2 payment methods. Call them method1 and +method2. +10. Store the order at the database. +11. Add a color filter to the product list. The user should be able to filter the listing with the +existing colors. +# specifications +- Please use PHP, MySQL and HTML. You can also use CSS, JavaScript, Bootstrap and jQuery. +- Save your code online at github. +- Please use an autoloader and namespaces. +- Don’t use a ready to go framework. Build the application from the scratch. +- Use transactions if it makes sense. +- Please cover your code with unit tests.