- 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.
https://saleschainmng.herokuapp.com/
Users must be approved to be able to perform searching/purchasing actions.
-
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
-
Migrate DB:
php artisan migrate
Models:
- Category
- Item
- Order
- User
Controllers:
- AdminController
- CategoriesController
- HomeController
- OrdersController
Middlewares:
- Auth
- Approved
- Admin
NOTICE: no charging is implemented yet.
GPL