A web portal hooked into the DTR machine of LGU Nabua that provides DTR viewing and monitoring to employees.
- PHP
^8.0
- Node
^16.14
- Composer
^2.2.7
-
Clone or download this repository.
-
Open the project directory and copy
.env-example
to.env
in the root directory. -
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
orlocalhost
to your reCAPTCHA domains. -
Create a MySQL database named
dtr_lgu_nabua
. -
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
Access the local development server and use this dummy account code:
test