The main objetive of the test was implement a website where our users could be able to see a variety of home appliances, creating a wishlist of their favourite ones which can be shared with friends.
Live demo can be found at:
- PHP >= 7.1.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- Composer
- Mysql
2 ways:
An autodeployed docker image was added for easily deploy the app. To use it:
-
Install Docker ( https://www.docker.com/community-edition )
-
In a terminal window go to the project dockerserver folder and execute.
docker-compose up
- Once docker installation and app auto deployment finish (Several minutes depending on internet connection), in a browser window go to http://localhost:8088 and start testing.
Or for a normal installation in a local server. In a terminal window:
- Execute composer install in the provided source root directory to install the dependencies.
composer install
- Update storage folder permits.
sudo chmod -R 777 storage/
- Create a new database in Mysql.
- Duplicate .env.example file as .env and update it with the real database variables.
- Set Laravel application key.
php artisan key:generate
- Migrate the database. Execute php artisan migrate in the root directory.
php artisan migrate
- Seed the database using php artisan db:seed command.
php artisan db:seed
Technical design document about the approach and decisions made can be found here
This project is licensed under the MIT License - see the LICENSE.md file for details