I have received this Studydrive task. This is a repository that represents my solution.
I have set up the MySQL tables manually without Laravel schemes or migration. Therefore this step is required:
-
(Optional) Fill tables: This step is optional since I have written a little function,
$project->initialize()
, that receives the JSON data from the link stated in the PDF file and migrates it to our database tables: photos.sql, photos_likes.sql, users.sql. However, this option also provides some photo likes and user data.