This repository is an API for a simple attendance system. Available endpoints include adding new employees, logging in to get tokens, and taking attendance. With tokens, employees can check in, check out, and view their attendance history daily. The authentication system used in this system is JWT.
To use this API, you can follow the following steps.
- Clone project from this repository.
- Edit file .env
- Create database.
- Run
go run main.go
.
API Documentation can be accessed at the following url http://{{baseurl}}/swagger/index.html.