{"id":28213155,"url":"https://github.com/eu-diogo-ferreira/nodejs-rest-api","last_synced_at":"2026-04-28T12:32:32.217Z","repository":{"id":139163037,"uuid":"345864969","full_name":"eu-diogo-ferreira/NodeJS-REST-API","owner":"eu-diogo-ferreira","description":"🔐 A simple REST API with NodeJS, MongoDB and ExpressJS","archived":false,"fork":false,"pushed_at":"2021-03-11T04:01:38.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T09:47:44.929Z","etag":null,"topics":["bcryptjs","express-js","jwt","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eu-diogo-ferreira.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-03-09T02:58:33.000Z","updated_at":"2021-03-11T04:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"4fbd3df0-03f2-4be7-bacf-3c6d01c75069","html_url":"https://github.com/eu-diogo-ferreira/NodeJS-REST-API","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/eu-diogo-ferreira/NodeJS-REST-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eu-diogo-ferreira%2FNodeJS-REST-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eu-diogo-ferreira%2FNodeJS-REST-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eu-diogo-ferreira%2FNodeJS-REST-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eu-diogo-ferreira%2FNodeJS-REST-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eu-diogo-ferreira","download_url":"https://codeload.github.com/eu-diogo-ferreira/NodeJS-REST-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eu-diogo-ferreira%2FNodeJS-REST-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32381374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"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":["bcryptjs","express-js","jwt","mongodb","nodejs"],"created_at":"2025-05-17T20:10:04.950Z","updated_at":"2026-04-28T12:32:32.212Z","avatar_url":"https://github.com/eu-diogo-ferreira.png","language":"JavaScript","funding_links":["https://ko-fi.com/C0C81IJH6"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" style=\"margin-bottom:30px;\"\u003e\n  \n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) \u003ca href=\"https://diogodeveloper.netlify.com\" alt=\"Developer\"\u003e\n\n# NodeJS-REST-API\n🔐 A simple REST API with NodeJS, MongoDB and ExpressJS\n\n\u003c/div\u003e\n\n## Techlogies\n\nThis project was developed with **NodeJS**, **ExpressJS**, **BcryptJS** and **JWT**.\n\n## Install\n\n```\n$ git clone git@github.com:ArikBartzadok/NodeJS-REST-API.git\n# Recommend you to delete `.git`\n$ cd \u003c\u003cPROJECT_NAME\u003e\u003e \u0026\u0026 rm -r .git\n```\n\n## Development\n```\n$ npm start\n# or\n$ nodemon src/index.js\n```\n\n## Step by step\n\n- Create the server application with ExpressJS and Body-parser\n- Create the connection with MongoDB\n- Create the model of collection\n- Create the auth controller to register users in database\n- Create system to encrypt the password, and manually disable the return of password in the request\n- Create system to generate, authenticate and treat JWT\n- Reorganize the project's directory structure\n- Create module to recover password, including in the user model\n- Recovering passwords with mailtrap\n- Bug fixed in nodemailer and mailtrap \u003c\u003c\u003c Error: Missing credentials for \"PLAIN\"\n- Create route to reset password and authenticate token\n- Bug fixed in decoded token\n- Create routes to 'POST, GET, PUT and DELETE' projects\n- Creating model relationships (Users, Pojects and Taks)\n\n## Author\n\n[Diogo Ferreira](https://diogodeveloper.netlify.app/)\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n\u003cdiv align=\"center\" style=\"margin-bottom:30px\"\u003e\n  \n# Support me\n\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/C0C81IJH6)\n\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feu-diogo-ferreira%2Fnodejs-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feu-diogo-ferreira%2Fnodejs-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feu-diogo-ferreira%2Fnodejs-rest-api/lists"}