{"id":19151233,"url":"https://github.com/2697sahil/user-authentication-service","last_synced_at":"2026-04-17T05:02:44.785Z","repository":{"id":224396571,"uuid":"749301102","full_name":"2697sahil/user-authentication-service","owner":"2697sahil","description":"A simple project to demonstrate the user authentication flow using Spring Security, Spring Data JPA \u0026 Mongo DB","archived":false,"fork":false,"pushed_at":"2024-02-25T17:51:49.000Z","size":318,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-15T15:45:24.265Z","etag":null,"topics":["api","api-rest","java","mongodb","spring-boot","spring-data-mongodb","spring-security"],"latest_commit_sha":null,"homepage":"https://thesahil.com/","language":"Java","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/2697sahil.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}},"created_at":"2024-01-28T06:51:11.000Z","updated_at":"2024-01-28T07:00:51.000Z","dependencies_parsed_at":"2024-02-25T18:57:43.924Z","dependency_job_id":null,"html_url":"https://github.com/2697sahil/user-authentication-service","commit_stats":null,"previous_names":["2697sahil/user-authentication-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/2697sahil/user-authentication-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2697sahil%2Fuser-authentication-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2697sahil%2Fuser-authentication-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2697sahil%2Fuser-authentication-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2697sahil%2Fuser-authentication-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2697sahil","download_url":"https://codeload.github.com/2697sahil/user-authentication-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2697sahil%2Fuser-authentication-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["api","api-rest","java","mongodb","spring-boot","spring-data-mongodb","spring-security"],"created_at":"2024-11-09T08:14:10.656Z","updated_at":"2026-04-17T05:02:44.769Z","avatar_url":"https://github.com/2697sahil.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# user-authentication-service\n\nThe user-authentication-service project offers a straightforward demonstration of user authentication processes, leveraging a stack comprising Spring Security, Spring Data JPA, and MongoDB. Designed to illustrate fundamental authentication flows, this project provides a hands-on exploration of user signup and login functionalities.\n\n### Key Components:\n\n**Spring Security**: Ensures robust security mechanisms for user authentication and authorization within the application.\n\n**Spring Data JPA**: Facilitates seamless interaction with the underlying MongoDB database, streamlining data access operations.\n\n**MongoDB**: Serves as the persistent storage solution for user authentication details, providing flexibility and scalability.\n\n## Overview\nThis service comprises two primary endpoints, each catering to distinct aspects of the authentication process.\n### /signup: \nAllows users to register by providing their desired username and password. Upon successful signup, user credentials are securely stored in MongoDB for future authentication purposes.\n    ![img.png](img.png)\n\n_mongodbDB snapshot with sample data_\n    ![img_2.png](img_2.png)\n\n### /login: \nProvides users with the ability to authenticate themselves using their registered credentials. Upon successful login, users gain access to authorized resources within the application.\n    ![img_1.png](img_1.png)\n\n**How to set up:**\n1. Clone the repo.\n2. run \"mvn clean install\".\n3. run \"docker-compose up\".\n4. application is ready to run \u0026 test in postman.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2697sahil%2Fuser-authentication-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2697sahil%2Fuser-authentication-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2697sahil%2Fuser-authentication-service/lists"}