Skip to content

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.

Notifications You must be signed in to change notification settings

bishwasshrestha/smart_task_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Task Manager App with Smart Suggestions

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.


πŸš€ Features

  • ✍️ 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

πŸ“¦ Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js + Express
  • AI Service: Python + Flask
  • Database: PostgreSQL
  • Containerization: Docker & Docker Compose

🧰 Prerequisites

Make sure you have installed:


πŸ› οΈ Getting Started

1. Clone the repository

git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name

2. Start the app using Docker

  docker compose up --build

3. Open the app

Visit htp://localhost:3000 in your browser

Project Structure

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

4. πŸ§ͺ Testing the App

  1. Add a new task using the form

  2. The Python service will suggest a category

  3. The task will appear in the list with its suggestion

  4. Click on a task to:

    • βœ… Mark as Done

    • πŸ—‘οΈ Delete it

5. Access the PostgreSQL databse

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published