Warning
Currently, i still have not convenient in tailwind and popular frontend javascript framework. 2 Days is not enough to learn by doing. So this just html css only!
Important
Needed PHP ^8.2
git clone https://github.com/rizkyilhampra/recipe-restaurant.git
cd recipe-restaurant
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate:fresh --seed
php artisan serve
Note
Include PostgreSQL
git clone https://github.com/rizkyilhampra/recipe-restaurant.git
cd recipe-restaurant
composer install || docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php83-composer:latest \
composer install --ignore-platform-reqs \
./vendor/bin/sail up -d
cp .env.example .env
./vendor/bin/sail artisan key:generate
./vendor/bin/sail artisan migrate:fresh --seed
Note
Include phpstan, pint, and pest
composer run test
or with Sail
Ensure the container is running, by running
./vendor/bin/sail up -d
composer run sail-test