1. clone project
2. update packages
composer update
3. copy .env file
cp .env.example .env
4. Generate key
php artisan key:generate
5. Instal npm packages
npm install
6. npm run dev
npm run dev
7.create migrate & seed
php artisan migrate --seed
8. Run Server
php artisan serve
#################################
1- This app works with mailhog.
2- To run the 60 second timer, type the following command in the terminal:
php artisan schedule:work
3-ENV file setting:
APP_URL=http://localhost:8000
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=malek-task
DB_USERNAME=root
DB_PASSWORD=
MEMCACHED_HOST=127.0.0.1
MAIL_MAILER=smtp
MAIL_HOST=localhost
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"