Skip to content

Saumya1722/Learning-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Simple README Formula for Future Projects

For any project, use:

# Project Name 
Task Tracker CLI

## Features
- Add a new task
- Update an existing task
- Delete a task
- Mark a task as done
- Mark a task as in-progress
- List all tasks
- Filter tasks by status
- Store tasks in JSON file

## Tech Stack
- JavaScript
- Node.js
- File System (fs module)

## Project Structure
task-tracker-cli/
│
├── index.js
├── tasks.json
├── package.json
└── README.md

## Installation
Clone the repository:

```bash
git clone <repository-url>
cd task-tracker-cli

## Usage
Add task:
node index.js add "Learn Backend"

List task:
node index.js list

list done tasks:
node index.js list done

Mark Task Done:
node index.js mark-done TASK_ID

Mark Task In Progress:
node index.js mark-in-progress TASK_ID

Update Task:
node index.js update TASK_ID "New Description"

Delete Task:
node index.js delete TASK_ID

Sample Task Object:
{
  "id": 1780403528567,
  "description": "Learn Backend",
  "status": "todo",
  "createdAt": "2026-06-02T12:32:08.568Z",
  "updatedAt": "2026-06-02T12:32:08.568Z"
}

## API Endpoints / Commands

## Screenshots (optional)

## Learning Outcomes
CRUD Operations
File Handling
JSON Data Management
Command Line Arguments
Backend Fundamentals

## Author
Saumya Sinha

About

Task Tracker CLI built with Node.js. Supports CRUD operations, task status management, command-line arguments, and JSON file persistence.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors