A code challenge for applicants to demonstrate their developement skills and knowledge
You are to create a media library app using this laravel app and vue js. The app must be able to do the following:
- Allows the user to search for images from unsplash
- Allows the user to select an image to add to the media library with addition information such as title and default alt text
- Allows the user to select media library items and edit them while seeing a preview of the image
- Creates a responsive media page that allows for viewing a media item by it's self
This app is setup to use Laravel Homestead (https://laravel.com/docs/6.x/homestead) using vagrant
- Fork this repo and git clone it to your local environment
- Ensure that you have Vagrant, Virtual Box, PHP & Composer install and setup
- Setup Homestead configuration by copying
Homesteade.example.yaml
toHomestead.yaml
and change the following line:
folders:
- map: {{Add Path to Project Folder on your computer}}
- to: /home/vagrant/code
- Point
homestead.test
or custom domain to the ip address in theHoemstead.yaml
file - Navigate to the project folder
- run
composer install
- run
vagrant up
- run
vagrant ssh
to ssh into the vagrant and naviage to the 'to' folder in your Homestead.yaml file - run
npm install
oryarn install
- run
art key:generate
- Navigate to the URl that you have setup in homestead.yaml
** If you have difculty with getting vagrant to launch make sure that you run vagrant destroy
to start again ***
Your all set to go
To allow access to the Unsplash API you need to register as a developer with unsplash to get access to the API (https://unsplash.com/developers)
Please respond to us when you have finished with the link to your repo If you get stuck or have a question please feel free to contact us.