Giter Club home page Giter Club logo

employeeholidayrequest's Introduction

Employee Holiday Request Web APP

-- Setup --

--STEP 1: create a copy of .env.example and rename it to .env

change bellow database information to your database information

DB_CONNECTION=mysql

DB_HOST=127.0.0.1

DB_PORT=3306

DB_DATABASE=laravel

DB_USERNAME=root

DB_PASSWORD=

--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

Manger Account

Default manager email is "[email protected]" and password: "password"

-- Run (Dev)--

--STEP 1: first 'run npm dev' for front-end

npm run dev

--STEP 2: now run the back-end

php artisan serve

-- Run (production)--

--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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.