Store Management Hackdonalds has chain of stores (approx 800 in total) distributed across the country. The store carries just one product - Bighack. Managing inventory levels has been challenging as there is no central system to track inventory. Hackdonalds would like to build a system that allows for the following:
- Head office users can add, remove stores.
- Head office users can create users (store owners, head office users).
- Individual store owners can login and increase/reduce inventory levels as stock levels change.
- Head office users can view inventory levels of any store.
- Individual store users can only see inventory levels of their own store
- Individual store users can create users, but these users can only view inventory of their local store.
- Head office users are not allowed to change inventory levels.
First you need to install composer.
Note: The instructions below refer to the global composer installation. You might need to replace
composerwithphp composer.phar(or similar) for your setup.
- git clone https://github.com/sarwarzahan/drupal8-sample-store-inventory-management-system.git
- go inside drupal8-sample-store-inventory-management-system folder
After that you can create the project using:
composer install
- Now access project url in your browser, drupal new installation page will show.
- Select hackdonalds install profile and follow the steps on the screen.