Telegram bot for managing working time.
Domain termines:
- Report: report of worked hours per day. List of timeRecords binded to a day.
- TimeRecord: minimal unit of time that employee adds to report for specified category.
- Setup PostgresQL database, run command:
docker-compose -f docker-compose-test.yml up -d
- Configure and run Spring Boot Application:
- Setup two env vars:
bot.token=${BOT_TOKEN};bot.username=${BOT_USERNAME}
- Add VM Options:
-Dspring.profiles.active=test
With these configurations - run SpringBoot main method.
- SpringBoot as a skeleton framework
- Telegram-bot SpringBoot starter
- Spring Data starter
- Spring State Machine
- Spring Scheduler as a task manager
- PostgresQL databases