A web application designed to provide analytics and predictions of working time of this tasks. Additionally, it analyzes and identifies the most suitable schedule for different types of tasks. The ultimate goal is to empower users to manage and allocate their time optimally for peak productivity.
- Overview
- Tech Stack
- Features
- Project Structure
- Installation
- Environment Variables
- Running the Project
- Contributing
- License
A web application that helps users predict working time and allocate schedules efficiently. In addition to AI-powered features, the platform includes core functionalities such as user authentication (login and registration), dark mode settings, an option to enable or disable automatic scheduling, and user profile input to provide personal data that allows the AI to make more accurate predictions.
- Language: JavaScript (ESM), Python
- Backend: Node.js, ExpressJS, FastAPI, Langchain, OPIK
- Frontend ReactJS
- Database: PostgreSQL
- Authentication: JWT / Cookies, Bcript
- Other: Docker
- User authentication (login / register)
- CRUD operations
- Role-based access control
- API Gateway support
- Logging & error handling
- AI feature
Task-Optimizer-Agent/
├── ai-services/
│ ├── ai_services.py
│ ├── data_services.py
│ ├── requirements.txt
│ ├── server.py
│ ├── Dockerfile
│ └── .env.example
├── api-gateway/
│ ├── src/
│ │ ├── configs/
│ │ ├── middleware/
│ │ ├── routes/
│ │ ├── app.js
│ ├── server.js
│ ├── package.json
│ ├── Dockerfile
│ └── .env.example
├── crud-services/
│ ├── src/
│ │ ├── configs/
│ │ ├── controllers/
│ │ ├── db/
│ │ ├── middleware/
│ │ ├── routes/
│ │ ├── services/
│ │ ├── utils/
│ │ ├── app.js
│ ├── server.js
│ ├── package.json
│ ├── Dockerfile
│ └── .env.example
├── frontend/
│ ├── public
│ ├── src/
│ │ ├── assets/
│ │ ├── components/
│ │ ├── constant/
│ │ ├── context/
│ │ ├── hooks/
│ │ ├── layouts/
│ │ ├── lib/
│ │ ├── pages/
│ │ ├── routes/
│ │ ├── services/
│ │ ├── slices/
│ │ ├── utils/
│ │ ├── app.jsx
│ │ ├── index.css
│ │ ├── main.jsx
│ │ ├── store.js
│ ├── index.html
│ ├── package.json
│ ├── Dockerfile
│ └── .env.example
├── .env.example
├── README.md
└── docker-compose.yml
Node.js: v20.x or higher (Recommended)
npm: v10.x or higher
Python: v3.10+
Docker & Docker Compose
- Clone the repository
https://github.com/TriNguyen1208/Task-Optimizer-Agent.git
cd Task-Optimizer-Agent- Install dependencies (Local Development): For Node services:
cd api-gateway && npm install
cd ../crud-services && npm install
cd ../frontend && npm installFor AI services:
cd ../ai-services && pip install -r requirements.txtEach service requires its own .env file. Copy the provided .env.example files:
cp .env.example .env # Repeat inside ai-services, api-gateway, crud-services, and frontend folders- Running using docker compose
docker-compose up --buildOnce started:
- Frontend: http://localhost:3000
- API Gateway: http://localhost:8080
- CRUD Service: http://localhost:3001
- AI Service: http://localhost:3002
- Running without docker compose
cd frontend && npm run dev
cd api-gateway && npm run dev
cd crud-services && npm run dev
cd ai-services && uvicorn server:app --port 3002 --reloadContributions are welcome! Please fork the repository and create a pull request.
This project is licensed under the MIT License.