Angular - Laravel Contacts App
Download instructions:
- git clone https://github.com/msalom28/contactsapp.git projectname
- composer install
- npm install
- Go inside root folder and rename the .env.example file to .env
- run php artisan key:generate
- create a database for the app using mysql called contactapp
- Update .env variables:
- DB_DATABASE=contactapp
- DB_USERNAME=root
- DB_PASSWORD=yourpassword
- run php artisan migrate --seed
- Run gulp
- Run php artisan serve
- You are good to go
Instructions for testing
You must truncate your tables before running tests.
1.run php artisan migrate:refresh 2.run phpunit