Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dineshkumar14498/nodejs-day-1-task
- Owner: Dineshkumar14498
- Created: 2024-08-13T13:39:31.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T11:23:46.000Z (6 months ago)
- Last Synced: 2025-01-19T17:09:29.778Z (7 days ago)
- Topics: cors, expressjs, nodejs, postman, render
- Language: JavaScript
- Homepage: https://nodejs-day-1-task-dy4w.onrender.com
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.MD
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"