An open API service indexing awesome lists of open source software.

https://github.com/thangapandi-k/nodejs-filesystem

Creating a file and reading a file inside a folder usin API endpoints using NodeJS File System
https://github.com/thangapandi-k/nodejs-filesystem

expressjs fs postman

Last synced: 3 months ago
JSON representation

Creating a file and reading a file inside a folder usin API endpoints using NodeJS File System

Awesome Lists containing this project

README

          

## NodeJS File System Task

> 1. Writing an API endpoint which will create a text file in a particular folder.

- Content of the file will be the current timestamp.

- The file name should be current date-time.txt.

### Endpoint: `/newFile`

> 2. Writing an API endpoint to retrieve all the text files names in that particular folder.

### Endpoint: `/getFiles`