Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dineshkumar14498/nodejs-day-1-task

Nodejs FileSystem Task
https://github.com/dineshkumar14498/nodejs-day-1-task

cors expressjs nodejs postman render

Last synced: 7 days ago
JSON representation

Nodejs FileSystem Task

Awesome Lists containing this project

README

        

# 📁 Node FileSystem

Manage text files with timestamps using this Node.js application built with Express.

## 🚀 Overview

This application provides endpoints to create text files with current timestamps and retrieve a list of all existing text files stored in the `TimeStamp` directory.

## 🔗 Endpoints

### Root

- **GET `/`**
- Provides information about available endpoints.
- **Example response:**
```json
{
"Endpoint to write file with time stamp" : "/writefile",
"Endpoint to read all files in the folder": "/readallfiles" }
```

### Create Text File

- **GET `/writefile`**
- Creates a text file in the `timeStamp` folder with the current timestamp as the filename.

### Show All Text Files

- **GET `/readallfiles`**
- Retrieves a list of all text file names from the `TimeStamp` folder.

## 🤝 Connect with Me

💼 **LinkedIn:**: "www.linkedin.com/in/dinesh-kumar-2565191b4"