- init DB:
./init-db.sh
Framework: Laravel
Why choose Laravel, beacuse:
- Laravel is a beautiful MVC framework.
- Laravel has many build-in functions such as file storage, pagination etc.
- It help write beautiful and clean code.
- Laravel speed up development.
- Copy the config file from .env.example
cp -r .env.example .env
, then update the database configuration. - run
composer install
- Link the file storage:
php artisan storage:link
- migrate the data:
php artisan migrate
- run server:
php artisan serve
composer install
rm -r database/database.sqlite
touch database/database.sqlite
php artisan storage:link
php artisan migrate --env=testing
php artisan serve --port=8999 --host=127.0.0.1 --env=testing
or simply run ./run-server.sh
Run unit test with testing env
composer install
php artisan storage:link
rm -r database/database.sqlite
touch database/database.sqlite
php artisan migrate --env=testing
./vendor/bin/phpunit
or simply run ./run-unit-test.sh
7 hrs.
-
Free UI: Saving time on writing UI.
-
Column-Sortable: https://github.com/Kyslik/column-sortable ,Package for handling column sorting in Laravel 5.7
By using this package, the task of the column sorting was completed in 10 mins.
-
Laravel, simple and fast MVC framework.