This is a Sales application built with Laravel and VueJS with a CoreUI template.
My intention with this app is that new developers can have a concrete application with Laravel + VueJS where they can use it as example to learn the right way, implementing the best practices possible and at the same time learn how TDD is done. So this will be an example application but completely usable for any similar case.
In case you know some good practice appropriate to this app, by all means please send a PR so that new devs can start building cools apps as quickly as possible.
- Categories CRUD
- Articles CRUD
- Categories Tests
-  Articles Tests
To run all tests just use the command:
`/project/path$ ./vendor/bin/phpunit --testdox` PHPUnit 7.3.5 by Hasan Hajjar. Feature\Category ✔ Can visit categories index ✔ Can create categories ✔ Can update a category ✔ Can toggle the status of a category ✔ Can get active categories Time: 122 ms, Memory: 20.00MB OK (5 tests, 10 assertions)
-  Enhance Search functionality in table
-  Refactor/Recycle Vue Components
- git clone https://github.com/Eng-Hasan-Hajjar/Laravel-Sales-App.git
- composer install
- npm install
- cp .env.example .env
- php artisan key:generate
- Set DB credentials in .env file — php artisan migrate
- npm run watch
- php artisan serve