{"id":19148967,"url":"https://github.com/aneathaarse/jwt-task","last_synced_at":"2026-04-05T08:35:28.153Z","repository":{"id":261579859,"uuid":"884725965","full_name":"AneathaaRse/Jwt-Task","owner":"AneathaaRse","description":"Authedication / Authorization (JWT)","archived":false,"fork":false,"pushed_at":"2024-11-07T09:28:41.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T17:49:39.886Z","etag":null,"topics":["bcrypt","dotenv","express","mongodb","nodejs","postman"],"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/AneathaaRse.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":"2024-11-07T09:26:21.000Z","updated_at":"2024-11-07T09:30:55.000Z","dependencies_parsed_at":"2024-11-07T10:32:49.567Z","dependency_job_id":"20c3c8b3-0f66-4240-8bd7-fee0524ac9f3","html_url":"https://github.com/AneathaaRse/Jwt-Task","commit_stats":null,"previous_names":["aneathaarse/jwt-task"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FJwt-Task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FJwt-Task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FJwt-Task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AneathaaRse%2FJwt-Task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AneathaaRse","download_url":"https://codeload.github.com/AneathaaRse/Jwt-Task/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240233308,"owners_count":19769170,"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","dotenv","express","mongodb","nodejs","postman"],"created_at":"2024-11-09T08:05:48.082Z","updated_at":"2025-12-30T22:09:12.934Z","avatar_url":"https://github.com/AneathaaRse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"User Authentication and Authorization with Bearer Tokens\n\nThis project is a Node.js application that implements user authentication and authorization using Bearer tokens. It follows the MVC pattern and utilizes MongoDB for data storage, JWT for token-based authentication, and Express.js for routing. API documentation is provided for testing and reference.\n\nFeatures :\n\nUser Registration: Allows new users to register with a unique email and password. Passwords are securely hashed before being saved to the database.\nUser Login: Registered users can log in with valid credentials to receive a JWT (JSON Web Token) for authorization.\nToken Verification: Middleware is used to verify the JWT from the request headers, allowing only authenticated users to access certain routes.\nUser Information Retrieval: Authenticated users can retrieve their information using their token.\n\nTechnologies Used:\nNode.js\nExpress.js\nMongoDB with Mongoose\nJWT (jsonwebtoken)\nbcryptjs for Password Hashing\nPostman for API documentation and testing\n\nError Handling :\nEach endpoint includes error handling to provide meaningful responses in cases of failed authentication, missing fields, or invalid credentials. Errors are returned with appropriate HTTP status codes and messages.\n\nDocumentation :\nAll API endpoints are documented with sample requests and responses. Use Postman to import this documentation and easily test each endpoint.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneathaarse%2Fjwt-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneathaarse%2Fjwt-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneathaarse%2Fjwt-task/lists"}