Skip to content

neellii/laravel-docker

Repository files navigation

Laravel Docker E-commerce

  • AJAX Cart Functionality
  • AJAX Product mixed filtration (price, year, title, category) feature
  • Full checkout process with Stripe API
  • Eloquent model relationships
  • User admin/user roles
  • CRUD for admin user (categories, products, comments/reviews)
  • SMTP Email verification with mailpit
  • Product's review feature

Preview

screen-capture.34.1.mp4

Setup

For first time only

  • git clone https://github.com/refactorian/laravel-docker.git
  • cd laravel-docker
  • copy .env.example to .env file
  • docker compose up -d --build
  • docker compose exec phpmyadmin chmod 777 /sessions
  • docker compose exec php bash
  • chown -R www-data:www-data /var/www /var/www/bootstrap/cache
  • chmod -R 775 /var/www/storage /var/www/bootstrap/cache
  • add in app/Providers/AppServiceProvider boot method this line: view()->share('categoriesTree', Category::where('parent_id', null)->with('children')->get());
  • php artisan migrate --seed
  • composer setup

From the second time onwards

  • docker compose up -d

Notes

Laravel App

Mailpit

phpMyAdmin

users profile

  • Email: any email in db users table
  • Password: password

About

Ecommerce Laravel App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published