prabhakaranthangavel / BE-NodeJS-Day-1-Task-NodeJS-File-System

https://nodejs-file-systems.onrender.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS-Day-1-Task-NodeJS File System

πŸ‘€ It contains NodeJS File System - using Express server πŸ‘€

πŸ“¬πŸ“¬ Created Get & Post Endpoints πŸ“¬πŸ“¬

⏰⏲ Current Date & Time Displayed ⏰⏲

πŸ₯‡πŸ₯‡πŸ₯‡ Completed My Task πŸ₯‡πŸ₯‡πŸ₯‡

🌴🌴

Kindly see my Answers in the npm run dev for kind attention Or 

Use an app called "Postman"   Or

Enter this link into the app called "Postman"


GET  πŸ‘‰πŸ‘‰πŸ‘‰ http://127.0.0.1:4000/

              {
                 "message": "Successfully The Current Date & Time Displayed",
                 "datetime": "2023-12-19T17:53:48.959Z"
              }

POST πŸ‘‰πŸ‘‰πŸ‘‰ http://127.0.0.1:4000/post-file

              {
                 "id" : 1,
                 "content" : "Post End Points Created",
                 "import"  : true
              }


              {
                 "message": "Successfully The File Is Post",
                 "fileName": "current date-time_post.txt",
                 "datetime": "2023-12-19T17:55:57.743Z"
              }

🌴🌴