Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open more actions menu

Repository files navigation

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"
              }

🌴🌴

Morty Proxy This is a proxified and sanitized view of the page, visit original site.