cli-todo-list-wth-login-and-registeration
v1.0.1
Published
A CLI TodoList application with features like registration, login, adding, updating, deleting, and viewing todos.
Downloads
11
Maintainers
Readme
CLI TodoList with Login and Registration
A command-line interface (CLI) TodoList application with features like registration, login, adding, updating, deleting, and viewing todos.
Installation
From GitHub
Clone the repository:
git clone https://github.com/codewithshabbir/cli-todolist.git
Navigate to the project directory:
cd cli-todolist
Install dependencies:
npm install
Run the application:
npm start
From npm
Install the CLI TodoList globally:
npm install -g cli-todolist-wth-login-and-registeration
Usage
After installation, you can run the CLI TodoList using the following command:
cli-todolist
Registration
To register, run the application and select the registration option. You'll be prompted to provide your username, fullname, gender, and password.
Login
Once registered, you can log in using your username and password.
Todos Selection
After logging in, you'll have several options:
- Select todo: View all your todos.
- Add todo: Add a new todo task.
- Update todo: Update an existing todo task.
- Delete todo: Delete a specific todo task.
- Delete all todo: Delete all your todo tasks.
- Exit: Close the program.
Viewing Todos
When you select the 'Select todo' option, you'll see all your todo tasks.
Adding Todos
To add a new todo task, select the 'Add todo' option and follow the prompts.
Updating Todos
To update a todo task, select the 'Update todo' option and follow the prompts.
Deleting Todos
To delete a specific todo task, select the 'Delete todo' option and follow the prompts. You can also delete all your todo tasks by selecting the 'Delete all todo' option.
GitHub Repository
You can find the source code on GitHub.
NPM Package
The CLI TodoList is also available as an npm package. Check it out on npm.
NPM Profile
Visit my NPM profile for more packages.
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License.