{"id":19500160,"url":"https://github.com/ajith-11399/nodejs-filesystem","last_synced_at":"2026-04-08T23:33:49.854Z","repository":{"id":243537859,"uuid":"812621298","full_name":"Ajith-11399/nodejs-filesystem","owner":"Ajith-11399","description":"Task 25 =\u003e This repository contains a NodeJs Task =\u003e Node Js File System","archived":false,"fork":false,"pushed_at":"2024-06-11T09:44:12.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T21:23:36.306Z","etag":null,"topics":["date-fns","expressjs","filesystem","javascript","nodejs","path-module"],"latest_commit_sha":null,"homepage":"https://nodejs-filesystem-fdcr.onrender.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ajith-11399.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T12:16:24.000Z","updated_at":"2024-06-11T09:44:15.000Z","dependencies_parsed_at":"2024-06-09T18:11:39.017Z","dependency_job_id":"ac98e504-f291-4b22-8a94-9dc796614cd8","html_url":"https://github.com/Ajith-11399/nodejs-filesystem","commit_stats":null,"previous_names":["ajith-11399/nodejs-filesystem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ajith-11399/nodejs-filesystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajith-11399%2Fnodejs-filesystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajith-11399%2Fnodejs-filesystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajith-11399%2Fnodejs-filesystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajith-11399%2Fnodejs-filesystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ajith-11399","download_url":"https://codeload.github.com/Ajith-11399/nodejs-filesystem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajith-11399%2Fnodejs-filesystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["date-fns","expressjs","filesystem","javascript","nodejs","path-module"],"created_at":"2024-11-10T22:07:37.863Z","updated_at":"2026-04-08T23:33:49.822Z","avatar_url":"https://github.com/Ajith-11399.png","language":"JavaScript","readme":"# Node.js Filesystem - Current Timestamp Task\n\nThis project is a simple Node.js application that creates and retrieves text files with timestamps. The application uses Express for the server framework and the `date-fns` library to format dates.\n\n## Project Description\n\nThis Node.js application provides endpoints to create text files containing the current timestamp and to retrieve all text files from a specific directory. The main purpose is to demonstrate the use of the filesystem module in Node.js and to handle file operations.\n\n## Tools and Libraries Used\n\n- **Node.js**: JavaScript runtime built on Chrome's V8 JavaScript engine.\n- **Express**: Fast, unopinionated, minimalist web framework for Node.js.\n- **fs**: File system module to interact with the file system.\n- **date-fns**: Library for date formatting.\n- **path**: Node.js module for handling and transforming file paths.\n\n## Operations\n\n1. **Home**: Displays a welcome message.\n2. **Create Timestamp File**: Creates a text file with the current timestamp.\n3. **Retrieve Timestamp Files**: Lists all the timestamp text files in the directory.\n\n## Routes\n\n| **Routes**                                                              | **Method** | **Endpoint** | **Description**                                        |\n| ----------------------------------------------------------------------- | ---------- | ------------ | ------------------------------------------------------ |\n| \u003ca href=\"https://nodejs-filesystem-fdcr.onrender.com/\"\u003eHome\u003c/a\u003e         | `GET`        | `/`          | Displays a welcome message                             |\n| \u003ca href=\"https://nodejs-filesystem-fdcr.onrender.com/create\"\u003eCreate\u003c/a\u003e | `GET`        | `/create`    | Creates a text file with the current timestamp         |\n| \u003ca href=\"https://nodejs-filesystem-fdcr.onrender.com/files\"\u003eFiles\u003c/a\u003e   | `GET`        | `/files`     | Retrieves all text files from the TimeStamps directory |\n\n## License\n\n\u003e This repository is owned by\n\u003e \u003ca href=\"https://github.com/Ajith-11399/\"\u003eAJ\u003c/a\u003e\n\n## Backend Source Link\n\n\u003e Nodejs Filesystem - Current Timestamp Task\u003ca href=\"https://nodejs-filesystem-fdcr.onrender.com/\"\u003eView Task\u003c/a\u003e\n\n## API DOcumentation - POSTMAN API\n\n\u003e Here is the API documentation of Nodejs Filesystem - Current Timestamps Task\n\u003e \u003ca href=\"https://documenter.getpostman.com/view/35036950/2sA3XLE4Hu\"\u003eView Documentation\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajith-11399%2Fnodejs-filesystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajith-11399%2Fnodejs-filesystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajith-11399%2Fnodejs-filesystem/lists"}