HRIS-APP is a web-based application for managing employee data for a company. This application can be accessed by several actors, including Superadmin or C-Level, Admin or HR (Human Resources), Managers, and Employees, where each actor has different access rights. Some of the features in this application include the attendance feature, employee data management features, leave and reimbursement application features, as well as employee performance monitoring features.
- Go
- Echo Framework
- MySQL
- GORM
- Docker
- GCP
- Clone:
git clone https://github.com/HRIS-APP-TEAM-3/Backend_Golang_immersive.git
- Go to the Backend_Golang_immersive directory
cd Backend_Golang_immersive
- Run the following command
- Enter the package name you want to package-name
go mod init package-name
go mod tidy
-
Create a file in .env format (local.env for local development)
-
Write as follows in the .env file. Adjust to your needs
export JWT_KEY = 'your-jwt-key'
export DBUSER = 'your-db-username'
export DBPASS = 'your-db-password'
export DBHOST = 'your-db-host'
export DBPORT = 'your-db-port'
export DBNAME = 'your-db-name'
- For file upload purposes, create and save Google Application Credentials in a file with the name keys.json. For references to Google Application Credentials, please check reference or reference
This API documentation can be viewed on SwaggerHub.
