ecshop_discount
1.0.0
Product discount applet, a supermarket needs to set discount information for some products and conduct product promotions within a specified time period.
1. Clone the remote warehouse address
$ git clone https://github.com/bravist/ecshop_discount.git
2. Enter the project directory and install project dependencies
$ cd ecshop_discount
$ composer install -vvv
$ yarn install
$ npm run prod
3. Create the .env file and modify the database connection to create the database structure
$ cp .env.example .env
$ php artisan key:generate
$ php artisan migrate
4. Automatically and randomly generate 50 pieces of product data
$ php artisan db:seed
4.1. Data can be generated again in this way during the development process
$ php artisan migrate:refresh
$ php artisan db:seed
5. Generate OAuth2.0 private access token
$ php artisan passport:install
More reference here