{"id":30942751,"url":"https://github.com/rjd06/noteapp-backend","last_synced_at":"2026-04-08T16:02:14.323Z","repository":{"id":310545110,"uuid":"1040242164","full_name":"rjd06/NoteApp-Backend","owner":"rjd06","description":"It's a complete crud operation based notes app backend repo.","archived":false,"fork":false,"pushed_at":"2025-08-21T12:00:10.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T00:09:15.015Z","etag":null,"topics":["cors","dotenv","express","fetch-api","javascript","json","mongodb","mongodb-atlas","mongodb-database","mongoose","nodejs","notes-app"],"latest_commit_sha":null,"homepage":"https://noteapp-ovs5.onrender.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rjd06.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T17:08:40.000Z","updated_at":"2025-09-03T09:22:21.000Z","dependencies_parsed_at":"2025-08-18T20:32:01.768Z","dependency_job_id":"bc0be674-eeea-451f-97e9-5d39355617aa","html_url":"https://github.com/rjd06/NoteApp-Backend","commit_stats":null,"previous_names":["beingrajdevyadav/noteapp-backend","rjd06/noteapp-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rjd06/NoteApp-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjd06%2FNoteApp-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjd06%2FNoteApp-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjd06%2FNoteApp-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjd06%2FNoteApp-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjd06","download_url":"https://codeload.github.com/rjd06/NoteApp-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjd06%2FNoteApp-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cors","dotenv","express","fetch-api","javascript","json","mongodb","mongodb-atlas","mongodb-database","mongoose","nodejs","notes-app"],"created_at":"2025-09-10T22:02:13.065Z","updated_at":"2026-04-08T16:02:14.311Z","avatar_url":"https://github.com/rjd06.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Notes App APIs Docs\n\n-  Base URL : [https://noteapp-ovs5.onrender.com](https://noteapp-ovs5.onrender.com)\n\n\n##  Endpoints Overview (List)\n\n1. **GET** `/` → API status check  \n2. **GET** `/api/notes` → Fetch all notes  \n3. **POST** `/api/note/create` → Create a new note  \n4. **PUT** `/api/note/update/:id` → Update note by ID  \n5. **DELETE** `/api/note/delete/:id` → Delete note by ID \n\n## With Fetch Method\n- Home Route\n```js\nfetch(\"https://noteapp-ovs5.onrender.com/\")\n  .then(res =\u003e res.text())\n  .then(data =\u003e console.log(data));\n```\n\n- Get All Notes\n```js\nfetch(\"https://noteapp-ovs5.onrender.com/api/notes\")\n  .then(res =\u003e res.json())\n  .then(data =\u003e console.log(data));\n```\n\n- Response Example \n```js\n[\n  {\n    \"_id\": \"68a356dbc214d34f58cac23e\",\n    \"title\": \"read book\",\n    \"content\": \"read rich dad poor dad for financial lessons.\",\n    \"isCompleted\": false,\n    \"createdAt\": \"2025-08-18T16:37:47.137Z\",\n    \"updatedAt\": \"2025-08-18T16:37:47.137Z\",\n    \"__v\": 0\n  }\n]\n```\n\n- Create a New Note\n```js\nfetch(\"https://noteapp-ovs5.onrender.com/api/note/create\", {\n  method: \"POST\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({\n    title: \"First Note\",\n    content: \"This is my first note\"\n  })\n})\n  .then(res =\u003e res.json())\n  .then(data =\u003e console.log(data));\n```\n\n- Update a Note\n```js\nfetch(\"https://noteapp-ovs5.onrender.com/api/note/update/68a356dbc214d34f58cac23e\", {\n  method: \"PUT\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({\n    title: \"Updated Note\",\n    content: \"This note has been updated\",\n    isCompleted: true\n  })\n})\n  .then(res =\u003e res.json())\n  .then(data =\u003e console.log(data));\n```\n\n- Delete a Note\n```js\nfetch(\"https://noteapp-ovs5.onrender.com/api/note/delete/68a356dbc214d34f58cac23e\", {\n  method: \"DELETE\"\n})\n  .then(res =\u003e res.json())\n  .then(data =\u003e console.log(data));\n```\n\n## With Axios \n- Home Route\n```js\nimport axios from \"axios\";\n\naxios.get(\"https://noteapp-ovs5.onrender.com/\")\n  .then(res =\u003e console.log(res.data))\n  .catch(err =\u003e console.error(err));\n```\n\n- Get All Notes\n```js\nimport axios from \"axios\";\n\naxios.get(\"https://noteapp-ovs5.onrender.com/api/notes\")\n  .then(res =\u003e console.log(res.data))\n  .catch(err =\u003e console.error(err));\n```\n\n- Response Example \n```js\n[\n  {\n    \"_id\": \"68a356dbc214d34f58cac23e\",\n    \"title\": \"read book\",\n    \"content\": \"read rich dad poor dad for financial lessons.\",\n    \"isCompleted\": false,\n    \"createdAt\": \"2025-08-18T16:37:47.137Z\",\n    \"updatedAt\": \"2025-08-18T16:37:47.137Z\",\n    \"__v\": 0\n  }\n]\n```\n\n- Create a New Note\n```js\nimport axios from \"axios\";\n\naxios.post(\"https://noteapp-ovs5.onrender.com/api/note/create\", {\n  title: \"First Note\",\n  content: \"This is my first note\"\n})\n  .then(res =\u003e console.log(res.data))\n  .catch(err =\u003e console.error(err));\n```\n\n- Update a Note\n```js\nimport axios from \"axios\";\n\naxios.put(\"https://noteapp-ovs5.onrender.com/api/note/update/68a356dbc214d34f58cac23e\", {\n  title: \"Updated Note\",\n  content: \"This note has been updated\",\n  isCompleted: true\n})\n  .then(res =\u003e console.log(res.data))\n  .catch(err =\u003e console.error(err));\n```\n\n- Delete a Note\n```js\nimport axios from \"axios\";\n\naxios.delete(\"https://noteapp-ovs5.onrender.com/api/note/delete/68a356dbc214d34f58cac23e\")\n  .then(res =\u003e console.log(res.data))\n  .catch(err =\u003e console.error(err));\n```\n\n--- \n\n## 👨‍💻 Author\n- **Name:** Rajdev Yadav  \n- **Role:** Software Engineering Student | MERN Stack Developer  \n- **GitHub:** [@beingrajdevyadav](https://github.com/beingrajdevyadav)  \n- **LinkedIn:** [Rajdev Yadav](https://linkedin.com/in/rjd06)\n\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjd06%2Fnoteapp-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjd06%2Fnoteapp-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjd06%2Fnoteapp-backend/lists"}