Skip to content

Hanzalashaik/hanzala_tasky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hanzala's Tasky

About the Project

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.

Image

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:

Backend Details

File System (fs) Module:

The project utilizes the Node.js File System (fs) module to persistently store user data and tasks.

To Install and Test

git clone git@github.com:Hanzalashaik/hanzala_tasky.git
cd hanzala_tasky
npm install
npm start

Install dependencies for the basic setup:

Dev Dependencies

npm i -D nodemon 

Dependencies

npm i config

Integrate a new script

  • 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"
  }
}

Why the Script inside package.json ??

The script makes sure that the development server restarts automatically when we make changes (thanks to nodemon).

Now start your server

nodemon app.js

Additional Notes

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!.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published