{"id":21128933,"url":"https://github.com/andresilveira1/rocketnotes-api","last_synced_at":"2026-04-11T14:03:56.233Z","repository":{"id":220209085,"uuid":"650368427","full_name":"andresilveira1/rocketnotes-api","owner":"andresilveira1","description":"A Rest API build with Node.js.","archived":false,"fork":false,"pushed_at":"2024-03-13T00:00:22.000Z","size":583,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T12:11:34.827Z","etag":null,"topics":["cors","dotenv","express","jsonwebtoken","knex","nodejs","sqlite","sqlite3"],"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/andresilveira1.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}},"created_at":"2023-06-06T23:35:28.000Z","updated_at":"2024-07-28T11:25:43.000Z","dependencies_parsed_at":"2024-02-04T00:28:41.604Z","dependency_job_id":"3be7ac97-8007-440a-9f79-5be5d9299741","html_url":"https://github.com/andresilveira1/rocketnotes-api","commit_stats":null,"previous_names":["andresilveira1/api-rocketnotes","andresilveira1/rocketnotes-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andresilveira1/rocketnotes-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilveira1%2Frocketnotes-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilveira1%2Frocketnotes-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilveira1%2Frocketnotes-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilveira1%2Frocketnotes-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andresilveira1","download_url":"https://codeload.github.com/andresilveira1/rocketnotes-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilveira1%2Frocketnotes-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269366852,"owners_count":24405250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","jsonwebtoken","knex","nodejs","sqlite","sqlite3"],"created_at":"2024-11-20T05:12:13.230Z","updated_at":"2025-12-30T21:49:18.767Z","avatar_url":"https://github.com/andresilveira1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eRocketNotes Backend\u003c/h1\u003e\n\nA Rest API build with Node.js and Express. On this API you can create a account and have a place to save your personal notes.\n\n### FronEnd repository: [Link](https://github.com/andresilveira1/rocketnotes-web)\n\n## Technologies\n\n- Node.js\n- Express\n- SQLite\n- Knex\n- Cors\n- JWT\n\n## Requisites\n\n- [Node.js](https://nodejs.org/en)\n\n## Setup\n\n- Clone the repository;\n- Install dependencies (`npm install`)\n- Run application (`npm run dev`)\n\n\u003cbr\u003e\n\n# \u003cp align=\"center\"\u003eHTTP\u003c/p\u003e\n\n## \u003cp align=\"center\"\u003eUser\u003c/p\u003e\n\n### POST`/users`\n\nCreate a new user.\n\n#### Request body\n\n```json\n{\n  \"name\": \"username\",\n  \"email\": \"useremail@email.com\",\n  \"password\": \"123456\"\n}\n```\n\n### PUT`/users`\n\nUpdate user. ID will be taken from token via request.\n\n#### Request body\n\n```json\n{\n  \"name\": \"username\",\n  \"email\": \"useremail@email.com\",\n  \"old_password\": \"123456\",\n  \"password\": \"123\"\n}\n```\n\n### PATCH`/users/avatar`\n\nUpload or Update avatar. ID will be taken from token via request. Avatar filename will be taken from request and saved on database.\n\n#### Authentication: `/sessions`\n\n```json\n{\n  \"email\": \"useremail@email.com\",\n  \"password\": \"123456\"\n}\n```\n\n## \u003cp align=\"center\"\u003eNotes\u003c/p\u003e\n\n### POST`/notes`\n\nCreate a note. User ID will be taken from token via request.\n\n```json\n{\n  \"title\": \"Introduction to Nodejs\",\n  \"description\": \"This is a example.\",\n  \"tags\": [\"node\", \"express\"],\n  \"links\": [\"link1\", \"link2\"]\n}\n```\n\n### GET`/notes?`\n\nGet a note by title or tag. User ID will be taken from token via request.\n\n```http\nuser_id=1\u0026title=xxx\u0026tags=xxx\n```\n\n### GET`/notes/:id`\n\nShow all notes. User ID will be taken from token via reuqest.\n\n### DELETE`/notes/:id`\n\nDelete a note. User ID will be taken from token via request.\n\n## \u003cp align=\"center\"\u003eTags\u003c/p\u003e\n\n### GET`/tags`\n\nList all tags. User ID will be taken from token via request to get all tags.\n\n\u003cbr\u003e\n\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresilveira1%2Frocketnotes-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandresilveira1%2Frocketnotes-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresilveira1%2Frocketnotes-api/lists"}