{"id":21211840,"url":"https://github.com/brianttn/mongoose-mongodb-express-jwt-dpy","last_synced_at":"2026-04-04T16:34:31.927Z","repository":{"id":67462798,"uuid":"584471508","full_name":"brianttn/mongoose-MongoDB-Express-JWT-Dpy","owner":"brianttn","description":"Deployment Version","archived":false,"fork":false,"pushed_at":"2023-01-02T17:19:24.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T15:50:48.952Z","etag":null,"topics":["bcrypt","cors","deployment","express","jsonwebtoken","jwt-authentication","mongodb","mongoose","nodejs","railway-deployment"],"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/brianttn.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-01-02T16:58:38.000Z","updated_at":"2023-02-23T08:52:40.000Z","dependencies_parsed_at":"2023-04-24T19:47:07.249Z","dependency_job_id":null,"html_url":"https://github.com/brianttn/mongoose-MongoDB-Express-JWT-Dpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianttn%2Fmongoose-MongoDB-Express-JWT-Dpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianttn%2Fmongoose-MongoDB-Express-JWT-Dpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianttn%2Fmongoose-MongoDB-Express-JWT-Dpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianttn%2Fmongoose-MongoDB-Express-JWT-Dpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianttn","download_url":"https://codeload.github.com/brianttn/mongoose-MongoDB-Express-JWT-Dpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663192,"owners_count":20327299,"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","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":["bcrypt","cors","deployment","express","jsonwebtoken","jwt-authentication","mongodb","mongoose","nodejs","railway-deployment"],"created_at":"2024-11-20T21:05:47.353Z","updated_at":"2025-12-31T00:22:56.395Z","avatar_url":"https://github.com/brianttn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eA User Management Program\u003c/h1\u003e\n\n## Prerequisites\n\n- [mongoose](#mongoose)\n- [MongoDB](#mongodb)\n- [Express](#express)\n- [JWT](#jwt)\n- [bcrypt](#bcrypt)\n- [CORS](#cors)\n\n## mongoose\n\n***Mongoose*** provides these ***functions***：\n\n- ***Connect*** with MongoDB and monitor the connection status.\n- ***Create*** the ***Schem***a \u0026 ***Model*** of MongoDB collection.\n- ***Provide*** related functions for ***CRUD*** operations\n\n## MongoDB\n\nMongoDB is an open-source document database that uses a flexible schema for storing data. We use it to perform ***CRUD*** operations with mongoose in Node.js applications.\n\n## Express\n\n***Express*** is mainly responsible for：\n\n- Handle with web requests and responses.\n- Handle with Web APIs Routing.\n- Execute various middleware functions.\n\n## JWT\n\nThe 「package：***jsonwebtoken***」 is mainly responsible for：\n\n- Generate a JWT\n  - Use the sign() method to generate a JWT.\n\n- Verify a JWT\n  - Use the verify() method to complete Token verification and return the decoded Payload.\n\n## bcrypt\n\nThe 「package：***bcrypt***」 is mainly responsible for：\n\n- Encrypt the user password\n  - Use the hash() method to encrypt the user password.\n\n- Check the user password\n  - Use the compare() method to check if the password entered by the user is the same as the password stored in MongoDB.\n\n## CORS\n\nCORS provides a ***Express middleware*** that can be used to enable ***CORS*** with various options for cross domain web applications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianttn%2Fmongoose-mongodb-express-jwt-dpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianttn%2Fmongoose-mongodb-express-jwt-dpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianttn%2Fmongoose-mongodb-express-jwt-dpy/lists"}