This is a task management app built with Nuxt 3, TypeScript, Pinia, and Bootstrap.
- Add new tasks with a title and description.
- Validate task descriptions to ensure they contain at least 3 words.
- Disable the "Add Task" button until the form is correctly filled.
- Store task data using Pinia.
- View Task details.
- Update tasks details.
To get started with the project, follow these steps:
-
Clone the repository:
git clone [https://github.com/your-username/task-management-app.git](https://github.com/IdrisDY/TaskList-TS.git) cd task-app
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
- Open your browser and navigate to
http://localhost:3000
. - You will see a button to add a new task and your current existing tasks if any.
- Enter the title and description for the task.
- Click the "Add Task" button to add the task to the list.
- The "Add Task" button is disabled until the title is not empty and the description contains at least 3 words.
This project includes unit tests for the Pinia store using Vitest. To run the tests:
-
Install Vitest:
npm install vitest
-
Run the tests:
npm run test