Skip to content

File Manager task#1

Open
Stanovyi wants to merge 7 commits intomainfrom
file-manager-task
Open

File Manager task#1
Stanovyi wants to merge 7 commits intomainfrom
file-manager-task

Conversation

@Stanovyi
Copy link
Copy Markdown
Owner

@Stanovyi Stanovyi commented Nov 2, 2025

  1. Task: https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/file-manager/assignment.md

  2. Screenshot: N/A (Function-based task with no specific UI output; functionality verifiable via npm run script)

  3. Repo: https://github.com/Stanovyi/file-manager

  4. Done: 2025-11-02 / Deadline: 2025-11-03

  5. Scope: 270 / 330

Basic Scope – 200 / 200

General – 16

  • Application accepts username and prints proper message +6
  • Application exits if user pressed ctrl+c or sent .exit command and proper message is printed +10

Operations fail – 30

  • Attempts to perform an operation on a non-existent file or work on a non-existent path result in the operation fail +20
  • Operation fail doesn't crash application +10

Navigation & working directory operations – 40

  • Go upper from current directory +10
  • Go to dedicated folder from current directory +10
  • List all files and folders in current directory +20

Basic operations with files – 60

  • Read file and print it's content in console +10
  • Create empty file +5
  • Create new directory +5
  • Rename file +10
  • Copy file +10
  • Move file +10
  • Delete file +10

Operating system info – 34

  • Get EOL (default system End-Of-Line) +6
  • Get host machine CPUs info (overall amount of CPUS plus model and clock rate (in GHz) for each of them) +10
  • Get home directory +6
  • Get current system user name +6
  • Get CPU architecture for which Node.js binary has compiled +6

Hash calculation – 20

  • Calculate hash for file +20

Compress and decompress operations – 40

  • Compress file (using Brotli algorithm) +20
  • Decompress file (using Brotli algorithm) +20

Advanced Scope – 70 / 90

  • All operations marked as to be implemented using certain streams should be performed using Streams API +30
  • No synchronous Node.js API with asynchronous analogues is used +20
  • Codebase is written in ESM modules instead of CommonJS +20
  • Codebase is separated (at least 7 modules) +20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant