WEB-BASED HR DATABASE MANAGEMENT SYSTEM FOR BARANGAY MAMATID HALL
requirements:
- php
- composer
- xampp
steps to run:
-
clone the repository in the
/htdocsof the xampp -
move inside the cloned repository directory
-
run
composer installto install all the dependencies -
run xampp server
-
contact me @ to get the environment variables
-
fill up the environment variables
DB_HOST="localhost"
DB_NAME="hr-management-system"
DB_USER="root"
DB_PASS=""
ADMIN_USERNAME="wowadmin"
ADMIN_PASSWORD="wowpassword123"
HR_USERNAME="wowhr"
HR_PASSWORD="wowpassword321"
PEPPER_KEY="BjdVD_4FXuB1moYUd2aTQPW7cjKNrX07GWlvqobrmTBeUb6H_0f2mZq7mCJ-"
JWT_ACCESS_KEY="VBT-UPOP1SH9RL4oerdUoC0IIrUqOqd7SCD5jQCHcdYE9_U59tNI-"
JWT_REFRESH_KEY="REQwhdij0DDeblmVG1unGXysL7rXgrLLzwsnH5x-xj-"
CLOUDINARY_API_SECRET="CLOUDINARY_API_SECRET"
CLOUDINARY_API_KEY="CLOUDINARY_API_KEY"
CLOUDINARY_CLOUDNAME="CLOUDINARY_CLOUDNAME"- setup the database by running the seeder
for windows:
cd scripts && php seeder-win.php
for linx & mac:
cd scripts && php seeder.php
- view the project
http://localhost/hr-management-system
dev notes:
- run
npx tailwindcss -i public/tailwind.css -o public/output.css --watch- to update the css file generated by tailwindcss - point to a single css file
public/output.cssfor any tailwindcss property.