SIVAKASI CRACKERS - LOCALHOST SETUP =================================== Requirements ------------ - XAMPP - Apache - MySQL - PHP 8.2 or newer - phpMyAdmin Project folder -------------- C:\xampp\htdocs\sivakasi-crackers 1. Extract this ZIP to: C:\xampp\htdocs\sivakasi-crackers 2. Start XAMPP: - Apache - MySQL 3. Create the database in phpMyAdmin: Database name: sivakasi_crackers 4. Open Command Prompt: cd C:\xampp\htdocs\sivakasi-crackers 5. If the vendor folder is missing, run: composer install 6. Clear Laravel cache: php artisan optimize:clear 7. Create the database tables and demo data: php artisan migrate:fresh --seed 8. Create the public storage link: php artisan storage:link 9. Start Laravel: php artisan serve 10. Open: http://127.0.0.1:8000 ADMIN LOGIN ----------- URL: http://127.0.0.1:8000/admin/login Email: admin@example.com Password: ChangeMe@123 CUSTOMER LOGIN -------------- URL: http://127.0.0.1:8000/login Email: customer@example.com Password: Customer@123 CATEGORY CRUD ------------- http://127.0.0.1:8000/admin/categories Create: http://127.0.0.1:8000/admin/categories/create Edit: http://127.0.0.1:8000/admin/categories/1/edit PRODUCT CRUD ------------ http://127.0.0.1:8000/admin/products ORDER MANAGEMENT ---------------- http://127.0.0.1:8000/admin/orders IMPORTANT --------- This project uses a fresh, consistent database schema. Use: php artisan migrate:fresh --seed Do not manually add parent_id or sort_order in phpMyAdmin. RAZORPAY -------- Razorpay is optional for local testing. Add your credentials to .env: RAZORPAY_KEY_ID= RAZORPAY_KEY_SECRET= COD checkout works without Razorpay. If you change .env: ------------------- php artisan optimize:clear