Employee Holiday Request Web APP
--STEP 1: create a copy of .env.example and rename it to .env
change bellow database information to your database information
--STEP 2: install composer dependencies
composer install
--STEP 3: migrate database
php artisan migrate
--STEP 4: install NPM dependencies
npm install
--STEP 5: generate app secret code
php artisan key:generate
--STEP 6: add jwt secret code to .env file
php artisan jwt:secret
--STEP 7: seed database (optional)
php artisan db:seed
--STEP 1: first 'run npm dev' for front-end
npm run dev
--STEP 2: now run the back-end
php artisan serve
--STEP 1: first 'run npm production' build for front-end to build for production
npm run production
--STEP 2: Edit .env for production use
APP_ENV=production
APP_DEBUG=false
--STEP 3: Optimizing Configuration Loading
php artisan config:cache
--STEP 4: Optimizing Route Loading
php artisan route:cache
--STEP 5: Compile all of the application's Blade templates
php artisan view:cache
--STEP 6: Cache the framework bootstrap files
php artisan optimize
--STEP 7: now your project is production ready!
Done! Keep coding!