A simple command-line task manager application built with Node.js and MySQL. This application allows users to manage tasks with features such as adding, viewing, filtering, searching, and marking tasks as done.
- Add new tasks with titles and descriptions.
- View all tasks with their status.
- Filter tasks by status (pending or done).
- Search for tasks by keywords in their descriptions.
- Tasks are stored in a MySQL database.
- Node.js (version 12 or higher)
- MySQL (version 5.7 or higher)
- npm (Node Package Manager)
Clone this repository to your local machine using the following command:
git clone https://github.com/danyelasuzy/task-manager.git
cd task-managernpm install
npm init -y (add "type": "module" in the package.json)
npm install --save mysql2
node install dotenv
1. Create a database.
2. Configure Environment Variables.
sudo apt-get install mplayer
npm install chalk
npm install play-sound
node tasks.js