{"id":17491988,"url":"https://github.com/alejandrosuero/nodejs-api","last_synced_at":"2026-04-30T22:35:09.966Z","repository":{"id":195039069,"uuid":"692121401","full_name":"AlejandroSuero/nodejs-api","owner":"AlejandroSuero","description":"REST API deployed on fl0","archived":false,"fork":false,"pushed_at":"2023-09-21T14:31:26.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-01T08:43:54.954Z","etag":null,"topics":["express","expressjs","nodejs","nodejs-api","rest-api"],"latest_commit_sha":null,"homepage":"https://nodejs-api-fss8-dev.fl0.io/movies","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/AlejandroSuero.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-09-15T15:52:35.000Z","updated_at":"2023-09-16T13:16:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"7cdaa0a2-e94c-4984-ac56-074f8d1b2650","html_url":"https://github.com/AlejandroSuero/nodejs-api","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"d9c66d03606a634382841e05b51a034fbae531f5"},"previous_names":["alejandrosuero/nodejs-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlejandroSuero/nodejs-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroSuero%2Fnodejs-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroSuero%2Fnodejs-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroSuero%2Fnodejs-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroSuero%2Fnodejs-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlejandroSuero","download_url":"https://codeload.github.com/AlejandroSuero/nodejs-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlejandroSuero%2Fnodejs-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32479448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["express","expressjs","nodejs","nodejs-api","rest-api"],"created_at":"2024-10-19T08:06:47.624Z","updated_at":"2026-04-30T22:35:05.950Z","avatar_url":"https://github.com/AlejandroSuero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS REST API\n\nA REST API using NodeJS and Express.\n\nIn this I am going to create an API to display, update, post and delete movies.\n\n## Installation\n\nYou can use whatever package manager that you want. I am going to show it with\nnpm.\n\n```bash\n# Using -E to install exact version (best practice for production dependencies)\nnpm install express zod -E\n\n# Dev dependencies\nnpm install -D eslint\n```\n\n### Eslint configuration (optional)\n\nIn my case a like to use a separate file for the linter, in this case\n```.eslintrc.json``` and ```.eslintignore```.\n\nI like using standar as a base configuration.\n\n```bash\nnpm init @eslint/config\n# After hitting \u003center\u003e select how you want it to be configured\n```\n\n## Usage\n\nAs I am using the REST arquitecture every resource is an endpoint. In this case\n```movies``` is the resource and the specific **movie** is going to be another\nendpoint.\n\n### Endpoints\n\n- [x] http://localhost:\u003cPORT\u003e/movies\n- [x] http://localhost:\u003cPORT\u003e/movies/:id\n\nIn the case there is a need for filtering a genre in the list of movies, we could\ntreat it as another resource but in this case is going to be a query paramater\nto filter.\n\n- [x] http://localhost:\u003cPORT\u003e/movies?genre=\u003cgenre-to-search\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrosuero%2Fnodejs-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandrosuero%2Fnodejs-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrosuero%2Fnodejs-api/lists"}