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