Skip to content

A web portal hooked into the DTR machine of LGU Nabua that provides DTR viewing and monitoring to employees.

License

Notifications You must be signed in to change notification settings

kulotsystems/dtr-lgu-nabua

Repository files navigation

DTR @ LGU Nabua

A web portal hooked into the DTR machine of LGU Nabua that provides DTR viewing and monitoring to employees.

Development Environment

  • PHP ^8.0
  • Node ^16.14
  • Composer ^2.2.7

Development Setup

  1. Clone or download this repository.

  2. Open the project directory and copy .env-example to .env in the root directory.

  3. Get a reCAPTCHA v3 config and write it on your .env file.

    reCAPTCHA_v3_SITE_KEY=your_recaptcha_site_key
    reCAPTCHA_v3_SECRET=your_recaptcha_secret_key

    - add 127.0.0.1 or localhost to your reCAPTCHA domains.

  4. Create a MySQL database named dtr_lgu_nabua.

  5. Open cloned directory in terminal then run the following commands in order:

    Install backend dependencies:

    composer update
    

    Install frontend dependencies:

    npm install
    

    Generate Application Key:

    php artisan key:generate
    

    Migrate database tables:

    php artisan migrate
    

    Spin a local dev server:

    php artisan serve
    

    Compile and run frontend in different terminal session:

    npm run watch
    

Execution

Access the local development server and use this dummy account code:

test

About

A web portal hooked into the DTR machine of LGU Nabua that provides DTR viewing and monitoring to employees.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published