Dog Data was created by Sean Misra for Dynamic Web Applications (CSCI-E 15) at Harvard Extension, during the Spring 2017 semester. This project constitutes the final assignment of the course and is meant to emphasize Laravel, MVC, MySQL, form processing, and Eloquent ORM. The site is built with the LAMP stack (Linux, Apache, MySQL, and PHP).
- Clone repo:
git clone git@github.com:seanmisra/a4.git
- Within the a4 folder, add composer dependencies:
composer install
- Create an .env file:
cp .env.example .env
- Generate an app key:
php artisan key:generate
- Set the document root to the public folder of the a4 directory
- In the .env file, ensure the database settings are configured correctly:
- The DB_CONNECTION should be "mysql"
- Mostly likely, the DB_HOST and DB_PORT should be "localhost" and "3306" respectively
- The DB_DATABASE should be a database created to be used with this app (where all tables will go)
- The DB_USERNAME should be root.
- The DB_PASSWORD should be root for MAMP users and left blank for XAMPP users
- Run migrations and seed the database:
php artisan migrate:refresh --seed
- Laravel 5
- jQuery
- jQuery UI
- Bootstrap
- Font Awesome
- Laravel Debugbar
- Laravel 5 log viewer
- Intervention Image
- All images are used responsibly. Most are from Pixabay; some are from Wikipedia
- Dog research from dogtime.com, akc.org, and mentalfloss.com
- HTML 5 slider starting point: http://codepen.io/the_ruther4d/pen/frbdH
- Toggle checkbox starting point: http://callmenick.com/post/css-toggle-switch-examples
- 3D flip button starting point: https://codepen.io/robbue/pen/hJDlA
- JavaScript shuffle function: https://www.frankmitchell.org/2015/01/fisher-yates/