{"id":18067139,"url":"https://github.com/fityannugroho/notes-app-back-end-v1","last_synced_at":"2026-02-11T03:30:56.842Z","repository":{"id":111475439,"uuid":"475790792","full_name":"fityannugroho/notes-app-back-end-v1","owner":"fityannugroho","description":"API for notes app (http://notesapp-v1.dicodingacademy.com)","archived":false,"fork":false,"pushed_at":"2024-12-10T16:15:32.000Z","size":250,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-27T21:55:01.051Z","etag":null,"topics":["api","backend","dicoding","dotenv","eslint","hapi","hapijs","nanoid","nodemon"],"latest_commit_sha":null,"homepage":"","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/fityannugroho.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},"funding":{"github":["fityannugroho"],"patreon":null,"open_collective":null,"ko_fi":"fityannugroho","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://trakteer.id/fityannugroho/tip","https://saweria.co/fityannugroho"]}},"created_at":"2022-03-30T08:37:04.000Z","updated_at":"2024-10-16T07:48:18.000Z","dependencies_parsed_at":"2024-12-27T15:12:52.545Z","dependency_job_id":"548a0292-fdde-4bca-a939-b67da3a70c0f","html_url":"https://github.com/fityannugroho/notes-app-back-end-v1","commit_stats":null,"previous_names":["fityannugroho/notes-app-back-end-v1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fityannugroho/notes-app-back-end-v1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fityannugroho%2Fnotes-app-back-end-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fityannugroho%2Fnotes-app-back-end-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fityannugroho%2Fnotes-app-back-end-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fityannugroho%2Fnotes-app-back-end-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fityannugroho","download_url":"https://codeload.github.com/fityannugroho/notes-app-back-end-v1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fityannugroho%2Fnotes-app-back-end-v1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29326146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T02:08:56.257Z","status":"ssl_error","status_checked_at":"2026-02-11T02:08:51.338Z","response_time":97,"last_error":"SSL_read: 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":["api","backend","dicoding","dotenv","eslint","hapi","hapijs","nanoid","nodemon"],"created_at":"2024-10-31T07:07:48.347Z","updated_at":"2026-02-11T03:30:56.808Z","avatar_url":"https://github.com/fityannugroho.png","language":"JavaScript","funding_links":["https://github.com/sponsors/fityannugroho","https://ko-fi.com/fityannugroho","https://trakteer.id/fityannugroho/tip","https://saweria.co/fityannugroho"],"categories":[],"sub_categories":[],"readme":"# Back-End of Notes App\n\n## Data\n\nThis API will store notes data where each note has attributes like the following:\n\n```json\n{\n  \"id\": \"string\",\n  \"name\": \"string\",\n  \"createdAt\": \"string\",\n  \"updatedAt\": \"string\",\n  \"tags\": [\"array\", \"of\", \"string\"],\n  \"body\": \"string\"\n}\n```\n\nThis is the example of the note:\n\n```json\n{\n  \"id\": \"notes-V1StGXR8_Z5jdHi6B-myT\",\n  \"title\": \"History of the JavaScript language\",\n  \"createdAt\": \"2020-12-23T23:00:09.686Z\",\n  \"updatedAt\": \"2020-12-23T23:00:09.686Z\",\n  \"tags\": [\"javascript\", \"history\"],\n  \"body\": \"JavaScript was first developed by Brendan Eich of Netscape under the name Mocha, later renamed LiveScript, and eventually JavaScript. Navigator has previously supported Java for more use by non-Java programmers.\"\n}\n```\n\n## API Endpoints\n\n### 1. Add a Note\n\nUse this endpoint to add a new note.\n\n```raml\n/notes:\n  post:\n    description: Add a new note.\n    request:\n      body:\n        application/json:\n          example: |\n            {\n              \"title\": \"History of the JavaScript language\",\n              \"tags\": [\"javascript\", \"history\"],\n              \"body\": \"JavaScript was first developed by...\"\n            }\n    responses:\n      201:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"success\",\n                \"message\": \"Note added successfully\",\n                \"data\": {\n                  \"noteId\": \"V09YExygSUYogwWJ\"\n                }\n              }\n      500:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"fail\",\n                \"message\": \"Note failed to add\"\n              }\n```\n\n### 2. Get the note(s)\n\nUse this endpoint to get all notes or a specific note by its `id`.\n\n```raml\n/notes:\n  get:\n    description: Get all notes.\n    responses:\n      200:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"success\",\n                \"data\": {\n                  \"notes\": [\n                    {\n                      \"id\": \"notes-V1StGXR8_Z5jdHi6B-myT\",\n                      \"title\": \"History of the JavaScript language\",\n                      \"createdAt\": \"2020-12-23T23:00:09.686Z\",\n                      \"updatedAt\": \"2020-12-23T23:00:09.686Z\",\n                      \"tags\": [\"javascript\", \"history\"],\n                      \"body\": \"JavaScript was first developed by...\"\n                    },\n                    ...\n                  ]\n                }\n              }\n```\n\n```raml\n/notes/{id}:\n  get:\n    description: Get a specific note.\n    responses:\n      200:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"success\",\n                \"data\": {\n                  \"note\": {\n                    \"id\": \"notes-V1StGXR8_Z5jdHi6B-myT\",\n                    \"title\": \"History of the JavaScript language\",\n                    \"createdAt\": \"2020-12-23T23:00:09.686Z\",\n                    \"updatedAt\": \"2020-12-23T23:00:09.686Z\",\n                    \"tags\": [\"javascript\", \"history\"],\n                    \"body\": \"JavaScript was first developed by...\"\n                  }\n                }\n              }\n      404:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"fail\",\n                \"message\": \"Note not found. The note's id doesn't exists\"\n              }\n```\n\n### 3. Update a note\n\nUse this endpoint to update a note.\n\n```raml\n/notes/{id}:\n  put:\n    description: Update a note.\n    request:\n      body:\n        application/json:\n          example: |\n            {\n              \"title\": \"History of the JavaScript language\",\n              \"tags\": [\"javascript\", \"history\"],\n              \"body\": \"JavaScript was first developed by...\"\n            }\n    responses:\n      200:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"success\",\n                \"message\": \"Note updated successfully\"\n              }\n      404:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"fail\",\n                \"message\": \"Note not found. The note's id doesn't exists\"\n              }\n```\n\n### 4. Delete a note\n\nUse this endpoint to delete a note.\n\n```raml\n/notes/{id}:\n  delete:\n    description: Delete a note.\n    responses:\n      200:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"success\",\n                \"message\": \"Note deleted successfully\"\n              }\n      404:\n        body:\n          application/json:\n            example: |\n              {\n                \"status\": \"fail\",\n                \"message\": \"Note not found. The note's id doesn't exists\"\n              }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffityannugroho%2Fnotes-app-back-end-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffityannugroho%2Fnotes-app-back-end-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffityannugroho%2Fnotes-app-back-end-v1/lists"}