Hanzala's Tasky is a Node.js backend project for a simple task management application. It utilizes the File System (fs) module to store and manage user data and tasks.
The application provides various operations to efficiently manage tasks. Below are the available operations:
1.Exit
Terminate the application.
2.Register
Register a new user account.
3.Login
Log in to an existing user account.
4.Create Task
Add a new task to the user's task list.
5.Get All Task
Retrieve a list of all tasks associated with the user.
6.Update Task
Modify details of an existing task.
7.Delete Task
Remove a specific task from the user's task list.
8.Delete All Task Clear all tasks from the user's task list.
9.Delete Account
Delete the user account along with all associated tasks.
10.Forgot Password
Reset the user's password in case it is forgotten.
Note:
The project utilizes the Node.js File System (fs) module to persistently store user data and tasks.
git clone [email protected]:Hanzalashaik/hanzala_tasky.git
cd hanzala_tasky
npm install
npm start
npm i -D nodemon
npm i config
- Add "type" : "module"
- Change "script" :{ "dev": "nodemon app.js"}
{
"name": "Book-Store-API",
"version": "1.0.0",
"description": "",
"main": "app.js",
"type" : "module",
"scripts": {
"dev": "nodemon app.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"nodemon": "^2.0.15"
},
"dependencies": {
"express": "^4.17.3"
}
}
The script makes sure that the development server restarts automatically when we make changes (thanks to nodemon).
nodemon app.js
This is a backend project, and it focuses on managing tasks with a simple command-line interface. Feel free to customize and extend the project according to your requirements. Ensure to handle errors and edge cases for a robust application. Happy task managing!.