This project is a test project that contains a nested comment example.
Client: Vue.js
Server: PHP8, Laravel 8
Database: MariaDB
Clone the project
git clone https://github.com/metinagaoglu/Laravel-Nested-Comment-SPAGo to the project directory
cd Laravel-Nested-Comment-SPA/src composer install php artisan key:generate edit .env file related your database credentialsMigrate your tables
php artisan migrateFor sample data
php artisan db:seedFor client side
npm run dev php artisan serve --host=0.0.0.0 git clone https://github.com/metinagaoglu/Laravel-Nested-Comment-SPAGo to the project directory
cd Laravel-Nested-Comment-SPA docker-composer upTo run tests, run the following command
cd src/
php artisan test-
Optimize SQL queries
-
Improve validation
-
Don't use root account for database