{"id":19226953,"url":"https://github.com/7gowtham/nodejsfilesystem","last_synced_at":"2025-02-23T10:23:17.844Z","repository":{"id":248404386,"uuid":"828595363","full_name":"7Gowtham/NodeJSFileSystem","owner":"7Gowtham","description":"API endpoint to create and list all files in a specified folder using Express","archived":false,"fork":false,"pushed_at":"2024-08-01T07:09:41.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T21:48:29.817Z","etag":null,"topics":["express","nodejs","readdirsync","writefilesync"],"latest_commit_sha":null,"homepage":"","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/7Gowtham.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-07-14T16:08:43.000Z","updated_at":"2024-08-01T07:16:32.000Z","dependencies_parsed_at":"2024-11-09T15:24:03.322Z","dependency_job_id":"e2dabe04-fbeb-41bc-853a-4f2798fb2cbb","html_url":"https://github.com/7Gowtham/NodeJSFileSystem","commit_stats":null,"previous_names":["7gowtham/nodejsfilesystem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FNodeJSFileSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FNodeJSFileSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FNodeJSFileSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Gowtham%2FNodeJSFileSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7Gowtham","download_url":"https://codeload.github.com/7Gowtham/NodeJSFileSystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240300317,"owners_count":19779607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["express","nodejs","readdirsync","writefilesync"],"created_at":"2024-11-09T15:21:06.122Z","updated_at":"2025-02-23T10:23:17.742Z","avatar_url":"https://github.com/7Gowtham.png","language":"JavaScript","readme":"# NodeJS File System\n\n## Description\nThis exercise involves creating API endpoints to create a text file in a particular folder and to retrieve all the text files in that particular folder.\n\n## Functionalities Used\n1. Created an `Express` server\n2. Created two API endpoints using `writeFileSync` and `readdirSync`.\n3. `writeFileSync` to write data to a file.\n4. `readdirSync` to read the contents of the directory and it returns an array of names of files and directories inside the particular folder.\n\n## Deployed URL Endpoints\n1. To write a file - https://nodejsfilesystem-jq09.onrender.com/write-file\n2. To list the files in a directory - https://nodejsfilesystem-jq09.onrender.com/list-files\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7gowtham%2Fnodejsfilesystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7gowtham%2Fnodejsfilesystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7gowtham%2Fnodejsfilesystem/lists"}