Requirements PHP 7.4 or Higher PHP Extensions - BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML Installation Make sure the server root is bookmate/public Create a database & user and add them in .env file on project root (also set APP_DEBUG=false). Run composer update & composer install --optimize-autoloader --no-dev Run php artisan migrate:fresh Run php artisan config:cache Run php artisan route:cache Run php artisan view:cache Run php artisan storage:link Run npm update Run npm run production Chill out Model Relations Challenge Discussion (1) id discussable_type discussable_id Comment (n) id user_id text Comment (n) (replies) id comment_id user_id text