Skip to content

mwmcode/saleschain

Repository files navigation

Sales Chain Management

Sales Chain Management

  • Basic Requirement: a luxurious cosmetics company wants to create hierarchical sales system for direct online sales without agents
  • Membership registration: some key user information. Only registered member can use the site. There are four levels of members: Platinum, Gold, Silver, and Bronze. Membership has to be approved manually
  • Shopping cart: online users are able to search different products within different categories. Different level of member see different prices.

Diagram

Diagram

Demo:

https://saleschainmng.herokuapp.com/

Users must be approved to be able to perform searching/purchasing actions.

Getting Started:

  1. Configure .env file:

    APP_KEY=key (generate one php artisan key:generate )

    DB_HOST=DB-IP-Address

    DB_PORT=PORT#

    DB_DATABASE=DB-NAME

    DB_USERNAME=DB-USER

    DB_PASSWORD=DB-PASSWORD

  2. Migrate DB: php artisan migrate


System design

Models:

  • Category
  • Item
  • Order
  • User

Controllers:

  • AdminController
  • CategoriesController
  • HomeController
  • OrdersController

Middlewares:

  • Auth
  • Approved
  • Admin

NOTICE: no charging is implemented yet.

LICENSE

GPL

About

Sales Chain Management System (early draft)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published