Worklog Tracker is a personal worklog management application that utilizes a Django backend and integrates with a Telegram bot for seamless interaction. This project aims to help users efficiently track and manage their daily work activities.
- Django Backend: Robust and scalable backend built with Django.
- Telegram Bot Integration: Interact with the worklog tracker via a Telegram bot.
- User Authentication: Secure login and registration system.
- Worklog Management: Create, update, and delete worklog entries.
- Reporting: Generate reports of worklogs over specified periods.
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/yourusername/worklog_tracker.git cd worklog_tracker
-
Create an
.env
file:Create a
.env
file in the root directory with the necessary environment variables, such as database credentials and the Telegram bot token. -
Build and run the containers:
docker-compose up --build
This command will build the Docker images and start the services defined in the
docker-compose.yml
file. -
Access the application:
- The Django application will be available at
http://localhost:8000
. - Use the Telegram bot to interact with your worklog by sending commands.
- The Django application will be available at
- Description: Log work hours and days.
- Preconditions: Must be logged into the system.
- Description: Get worklog entries by day or month.
- Preconditions: Must be logged into the system.
- Description: Add leave hour or days.
- Preconditions: Must be logged into the system.
- Description: Get leave hour or days by day or month.
- Preconditions: Must be logged into the system.
- Description: Add time of starting and ending a work or leave via Telegram bot.
- Preconditions: Must use a telegram account with the same id used when siging up.
- Description: Get total work or leave hours via Telegram bot.
- Preconditions: Must use a telegram account with the same id used when siging up.
- Description: Sign up to add or get worklog or leave times.