Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Task Manager

Problem Statement: In today’s world, individuals often need to keep track of various tasks in a structured way. You are tasked with building a Task Manager that allows users to manage their tasks. The system should include user authentication, meaning each user has to log in with a username and password. Once logged in, users can create, view, update, and delete their tasks. Each user’s tasks should be stored separately, and only the authenticated user can access their tasks. Objectives:

  1. Design and implement a user authentication system (login and registration)
  2. Create a task management system that allows users to: a. Add, view, mark as completed, and delete tasks
  3. Use file handling to store user credentials and tasks persistently
  4. Create an interactive menu-driven interface to manage tasks Steps to Perform:
  5. User Authentication:
  • Registration:
    • Create a function to prompt the user to enter a username and password
    • Ensure that the username is unique, and hash the password for security before storing it in a file
  • Login:
    • Create a function to prompt the user for their username and password, validate the credentials by comparing them with the stored data, and grant access to the task manager upon successful login
  1. Add a Task:
  • Create a function that prompts the user for a task description. Assign a unique task ID and set the status to Pending
  • Store the task in a file, and confirm that the task was added
  1. View Tasks:
  • Create a function to retrieve and display all tasks for the logged-in user
  • Each task should show the task ID, description, and status (Pending or Completed)
  1. Mark a Task as Completed:
  • Create a function that allows the user to select a task by its ID and update its status to Completed
  1. Delete a Task:
  • Create a function that allows the user to select a task by its ID and delete it from their task list
  1. Create an Interactive Menu:
  • Build a menu that allows users to choose between:
  • Add a Task
  • View Tasks
  • Mark a Task as Completed
  • Delete a Task
  • Logout

For each option, call the corresponding function, and loop back to the menu until the user logs out.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages