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-SPA
Go to the project directory
cd Laravel-Nested-Comment-SPA/src
composer install
php artisan key:generate
edit .env file related your database credentials
Migrate your tables
php artisan migrate
For sample data
php artisan db:seed
For client side
npm run dev
php artisan serve --host=0.0.0.0
git clone https://github.com/metinagaoglu/Laravel-Nested-Comment-SPA
Go to the project directory
cd Laravel-Nested-Comment-SPA
docker-composer up
To run tests, run the following command
cd src/
php artisan test
-
Optimize SQL queries
-
Improve validation
-
Don't use root account for database