{"id":26527970,"url":"https://github.com/ramyadeveloper5/enhanced-authentication-api","last_synced_at":"2026-04-18T14:34:10.899Z","repository":{"id":240085390,"uuid":"801631646","full_name":"Ramyadeveloper5/Enhanced-Authentication-API","owner":"Ramyadeveloper5","description":"User Management System for Enhanced Authentication API","archived":false,"fork":false,"pushed_at":"2024-06-20T05:07:19.000Z","size":6765,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T15:44:07.301Z","etag":null,"topics":["auhentication","authorization","error-handling","expressjs","mongodb","nodejs","postman-api","secure","usermanagementsystem","validation","visual-studio-code"],"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/Ramyadeveloper5.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-05-16T15:53:10.000Z","updated_at":"2024-06-20T05:07:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"be21a506-128c-4fdf-a82f-d0c5dd009c82","html_url":"https://github.com/Ramyadeveloper5/Enhanced-Authentication-API","commit_stats":null,"previous_names":["ramyadeveloper5/enhanced-authentication-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ramyadeveloper5/Enhanced-Authentication-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramyadeveloper5%2FEnhanced-Authentication-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramyadeveloper5%2FEnhanced-Authentication-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramyadeveloper5%2FEnhanced-Authentication-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramyadeveloper5%2FEnhanced-Authentication-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ramyadeveloper5","download_url":"https://codeload.github.com/Ramyadeveloper5/Enhanced-Authentication-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramyadeveloper5%2FEnhanced-Authentication-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31972416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["auhentication","authorization","error-handling","expressjs","mongodb","nodejs","postman-api","secure","usermanagementsystem","validation","visual-studio-code"],"created_at":"2025-03-21T15:37:51.908Z","updated_at":"2026-04-18T14:34:10.872Z","avatar_url":"https://github.com/Ramyadeveloper5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enhanced-Authentication-API.\nUser Management System for Enhanced Authentication API\n\n# Procedure\nTo include your port and mongodb url in the.env file.\n1. PORT - USER_PORT\n2. MONGODB_URL - USER_DATABASE_URL\n\n# DEPENDENCIES\n1. express\n2. nodemon\n3. uuid\n4. mongoose\n5. body-parser\n6. dotenv\n7. cors\n8. bcryptjs\n9. jsonwebtoken\n10. multer\n\n# Explanation of Enhanced Authentication API System\n\n# 1. Introduction\n•\tThe present article describes the features, implementation, and usage guidelines of the Enhanced Authentication API for User Profile Management System. Users of the system can create accounts, log in, edit their profiles, and choose whether to make them public or private. Additionally, admin users can access both private and public profiles with this functionality.\n\n•\tThe backend of the User Profile Management System is constructed with Node.js. By adding the ability for users to designate their profiles as private or public, it improves the current authentication system. Normal users can only access public profiles, but admin users can access both private and public profiles thanks to authorization checks implemented by the system.\n\n# 2. Technologies Used\n•\tNode.js\n\n•\tExpress.js\n\n•\tMongoDB \n\n•\tbcrypt for password hashing\n\n•\tJSON Web Tokens (JWT) for authentication\n\n•\tAPI Testing – Postman\n\n# 3. Tools Used\n•\tVisual Studio Code\n\n•\tPostman\n\n# 4. API Endpoints\n•\tUser Registration\n\n•\tUser Login\n\n•\tUser Login Token Verify\n\n•\tUser logout\n\n•\tAdmin Registration\n\n•\tAdmin Login\n\n•\tAdmin Login Token Verify\n\n•\tAdmin View Both the Profile (Public and Private) \n\n•\tGet User Profile\n\n•\tEdit User profile\n\n•\tImage Upload\n\n•\tNormal User View only Public User\n\n# 5. Authentication and Authorization\n•\tBecause of their email address and password, users can register and log in. \n\n•\tAfter successful authentication, JWT tokens are created and used for incoming requests. \n\n•\tNormal users can only access public profiles; authorization checks are used to grant admin users access to both public and private profiles.\n\n# 6. Public and Private Profiles\n•\tUsers have the option of keeping their profiles private or public. \n\n•\tAll users have access to public profiles. \n\n•\tOnly authorized users (admin users and the profile owner) can access private profiles.\n\n# 7. Handling Errors and Validation\n•\tThe system as a whole implements proper error handling to deliver informative error messages. \n\n•\tValidating input is done to make sure the data is secure and preserved.\n\n# 8. Conclusion\nUsers can manage their profiles on a safe and convenient platform with the help of the Enhanced Authentication API for User Profile Management System. The system guarantees user data privacy and restricts access to authorized users only by following the given user stories and requirements. The documentation for the API and hosting options improve accessibility and usability. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framyadeveloper5%2Fenhanced-authentication-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framyadeveloper5%2Fenhanced-authentication-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framyadeveloper5%2Fenhanced-authentication-api/lists"}