A hack project in Yii2 for a warehouse management app
The app allows employees to create categories and products under those categories
This solution is written using:
- Yii2 - Yii2 PHP Framework!
To run the project, first install Composer. Then run
$ composer install
This will install the necessary packages for the project. Next, update the db configuration in config/db.php. Then run the migrate command
$ yii migrate
This will generate the the tables in the database. Next, seed the database by running
$ yii seed
5 employees and 5 categories will be generated and saved into the database. The passwords of each of the employees is 123456
.
Launch the app and then login
MIT