Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task Link: https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/file-manager/assignment.md

Completion Date: 06.02.2024
Deadline: 15.10.2024
Score: 330 / 330
General (16/16)
Application accepts username and prints proper message (6/6).
Application exits if the user pressed ctrl+c or sent .exit command, and a proper message is printed (10/10).
Operations Fail (30/30)
Attempts to perform an operation on a non-existent file or work on a non-existent path result in the operation fail (20/20).
Operation fail doesn't crash the application (10/10).
Navigation & Working Directory Operations (40/40)
Go upper from the current directory (10/10).
Go to a dedicated folder from the current directory (10/10).
List all files and folders in the current directory (20/20).
Basic Operations with Files (70/70)
Read file and print its content in the console (10/10).
Create an empty file (10/10).
Rename a file (10/10).
Copy a file (10/10).
Move a file (10/10).
Delete a file (10/10).
Operating System Info (34/34)
Get EOL (default system End-Of-Line) (6/6).
Get host machine CPUs info (overall amount of CPUS plus model and clock rate (in GHz) for each of them) (10/10).
Get home directory (6/6).
Get the current system username (Do not confuse with the username that is set when the application starts) (6/6).
Get CPU architecture for which Node.js binary has compiled (6/6).
Hash Calculation (20/20)
Calculate hash for a file (20/20).
Compress and Decompress Operations (40/40)
Compress a file (using Brotli algorithm) (20/20).
Decompress a file (using Brotli algorithm) (20/20).
Advanced Scope (100/100)
All operations marked as to be implemented using certain streams should be performed using Streams API (30/30).
No synchronous Node.js API with asynchronous analogues is used (e.g., not used readFileSync instead of readFile) (20/20).
Codebase is written in ESM modules instead of CommonJS (20/20).
Codebase is separated (at least 7 modules) (20/20).