This is a mini project developed in Golang using the gofr framework. It was created as part of an assignment for Zopsmart. HRMS is a system that manages employees with the following endpoints:
- Get all employees
- Create an employee
- Update an employee
- Delete an employee
- Golang
- Gofr framework
To configure the application, you need to setup the .env
file. Follow the steps below:
- Create a new file in the configs directory of the project and name it
.env
. - Open the
example.env
file and according to this update your crediantials in.env
.
Follow these steps to run the application:
- Open a terminal in the root directory of the project.
- Run the following command to start the application:
go mod tidy
go run main.go
The application should now be running and ready to accept requests at localhost:8080
.
For more details about the APIs and how to use them, check out the API documentation.