This full-stack task manager lets you create, categorize, and manage your tasks. It uses a Python service to suggest categories for tasks based on content indicated by different color background, and stores everything in a PostgreSQL database. All components are containerized using Docker.
- βοΈ Add tasks with automatic category suggestions
- π View all tasks
- β Mark tasks as done
- ποΈ Delete tasks
- πΎ Data is saved in a PostgreSQL database
- π³ Fully containerized with Docker Compose
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js + Express
- AI Service: Python + Flask
- Database: PostgreSQL
- Containerization: Docker & Docker Compose
Make sure you have installed:
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name docker compose up --buildVisit htp://localhost:3000 in your browser
your-repo/
βββ backend/ # Node.js server
βββ frontend/ # Static frontend
βββ python-service/ # Suggestion service (Flask)
βββ db/ # Database volumes (if used)
βββ docker-compose.yml # Compose config
βββ README.md-
Add a new task using the form
-
The Python service will suggest a category
-
The task will appear in the list with its suggestion
-
Click on a task to:
-
β Mark as Done
-
ποΈ Delete it
-
Option 1: Terminal (psql)
docker exec -it postgres-service psql -U postgres -d tasks_db
Option 2: Use a GUI (pgAdmin, DBeaver)
-
Host: localhost
-
Username: postgres
-
Password: (set in docker-compose.yml)
-
Database: tasks_db
Unless specified otherwise on docker-compose.yml, the default port for psql is
- Port: 5432