Skip to content

File system - Create files with current date and time and retrieve all the text files by creating API endpoint

Notifications You must be signed in to change notification settings

kuzhalikumaraguru/nodeday1

Repository files navigation

  1. API endpoint to create a text file in a particular folder - used post method and writeFileSync

  2. Content of the file will be the current timestamp

  3. API endpoint to retrieve the text file in a particular folder - used get method and readFileSync

  4. Used express and node js file system

  5. I have created file name with only date string along with random text to differentiate the file names

  6. And current date & time file name is creating an issue so i have created with only date string.

About

File system - Create files with current date and time and retrieve all the text files by creating API endpoint

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published