vshop
vshop copied to clipboard
Laravel ecommerce website with Vuejs | Tailwindcss | Inertiajs
E-commerce application built with Laravel, Vue.js, Tailwind.css and Inertia.js with Stripe Payment
installation
Make sure you have environment setup properly. You will need MySQL, PHP8.1, Node.js and composer.
Install Laravel Website + API
- Download the project (or clone using GIT)
- Copy .env.example into .env and configure database credentials
- Navigate to the project's root directory using terminal
- Run
composer install
- Set the encryption key by executing
php artisan key:generate
- Run migrations
php artisan migrate --seed
- Run data seeder to test
php artisan db:seed AdminSeeder
and and other db seeder files you can find under database/seeders - Start local server by executing
php artisan serve
- Open new terminal and navigate to the project root directory
Run
npm install
- Run
npm run dev
to start vite server for Laravel frontend - For Stripe Api key, please go to .env file and replace with your api key for this variable
STRIPE_KEY="REPLACE WITH YOUR STRIP API KEY HERE"