/ecommerce

eCommerce web application created with Laravel.

Primary LanguagePHP

What is this?

This is a simple eCommerce web application created with Laravel 8 and designed using Tailwind.

Demo

Laravel.8.-.eCommerce.real-time.order.tracking.mp4

Application objects

  • Members can join, log in, and reset their password.
  • Admin can approve, reject, upgrade, downgrade, or delete members.
  • Admin can create or delete products.
  • Customer can browse products.
  • Customer can order a product.
  • Customer can track their order in real-time.
  • Customer can view all of their orders.
  • Customer can cancel their order.
  • Dispatcher can dispatch or reject orders.
  • Delivery driver can update the status of dispatched orders.

Installation

Note: redis and zmq PHP extensions should be present in the server. Otherwise, the application will work fine, but some features may not be available.

  • Clone this repository.
  • Copy .env.example to .env.
  • Adjust database, mail, and redis details in your .env.
  • Run these commands within the project's root directory:
    composer install
    php artisan key:generate
    php artisan migrate --seed
    php artisan storage:link
    php artisan queue:listen
    php artisan ratchet:start

Credentials for testing

ROLE EMAIL ADDRESS PASSWORD
Super admin sadmin@foo.bar 1234
Admin admin@foo.bar 1234
Dispatcher dispatcher@foo.bar 1234
Delivery driver delivery@foo.bar 1234

Hidden routes

  • /login
  • /join