Laravel E-commerce Website
E-commerce application built with Laravel, Vue.js, Tailwind.css and Alpine.js.
If you want to see every single step how this E-commerce application is build and learn how to build your own Full Stack applications, check my website thecodeholic.com
Demo
Admin Panel: https://admin.lcommerce.net
Email: [email protected]
Password: admin123
Website: https://lcommerce.net
Email: [email protected]
Password: useruser1
Email: [email protected]
Password: useruser2
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 --ansi
- Run migrations
php artisan migrate --seed
- 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
Install Vue.js Admin Panel
- Navigate to
backend
folder - Run
npm install
- Copy
backend/.env.example
intobackend/.env
- Make sure
VITE_API_BASE_URL
key inbackend/.env
is set to your Laravel API host (Default: http://localhost:8000) - Run
npm run dev
- Open Vue.js Admin Panel in browser and login with
[email protected] admin123