Skip to content

TriNguyen1208/Task-Optimizer-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Optimizer

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.


📌 Table of Contents


📖 Overview

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.


🛠 Tech Stack

  • Language: JavaScript (ESM), Python
  • Backend: Node.js, ExpressJS, FastAPI, Langchain, OPIK
  • Frontend ReactJS
  • Database: PostgreSQL
  • Authentication: JWT / Cookies, Bcript
  • Other: Docker

✨ Features

  • User authentication (login / register)
  • CRUD operations
  • Role-based access control
  • API Gateway support
  • Logging & error handling
  • AI feature

📂 Project Structure

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

⚙️ Installation

Prerequisites:

Node.js: v20.x or higher (Recommended)
npm: v10.x or higher
Python: v3.10+
Docker & Docker Compose

Setup Steps

  1. Clone the repository
https://github.com/TriNguyen1208/Task-Optimizer-Agent.git
cd Task-Optimizer-Agent
  1. Install dependencies (Local Development): For Node services:
cd api-gateway && npm install
cd ../crud-services && npm install
cd ../frontend && npm install

For AI services:

cd ../ai-services && pip install -r requirements.txt

🔑 Environment Variables

Each 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 the Project

  1. Running using docker compose
docker-compose up --build

Once started:

  1. 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 --reload

🤝 Contributing

Contributions are welcome! Please fork the repository and create a pull request.

📜 License

This project is licensed under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors