If you'd like a step by step guide on how to build this just CLICK THE IMAGE BELOW
Come and check out my YOUTUBE channel for lots more tutorials -> https://www.youtube.com/@johnweeksdev
LIKE, SUBSCRIBE, and SMASH THE NOTIFICATION BELL!!!
git clone https://github.com/John-Weeks-Dev/amazon-clone.git
composer install
cp .env.example .env
php artisan cache:clear
composer dump-autoload
php artisan key:generate
composer require laravel/breeze --dev
php artisan breeze:install vue --inertia
php artisan serve
Create the DB
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=amazon_clone
DB_USERNAME=root
DB_PASSWORD=
Now migrate your DB
php artisan migrate
php artisan db:seed
Now go to https://stripe.com/en-gb-us
Create a public and private KEY.
Add your new PRIVATE API KEY to CheckoutController.php
And Checkout
Connect Mailtrap
Add the details to .env
Now run this command to start the project
npm i
npm run dev
You should be good to go!