https://github.com/janani2311/nodejs-day1-task
https://github.com/janani2311/nodejs-day1-task
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/janani2311/nodejs-day1-task
- Owner: Janani2311
- Created: 2024-07-26T02:23:50.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-26T02:49:18.000Z (10 months ago)
- Last Synced: 2025-02-03T20:50:33.936Z (4 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PostMan documentation - https://documenter.getpostman.com/view/36929104/2sA3kYiKVX.
Render URL - https://nodejs-day1-task-dum9.onrender.com/
This Express application consists of 4 API endpoints
1. '/' - creates a new text file under the folder name 'TImeStamp' in the name of current Date Time. Also, the content of the file reflects the same date and time.
2. '/post' - Data in the existing file will be deleted and updated with the new data sent through API req.
3. '/add' - Append the data sent through API req to the existing file.
4. '/getTextFiles' - to retrieve all the .txt files in the folder 'TimeStamp'.