{"id":27204321,"url":"https://github.com/sunnysingh1231/spring_security_configuration","last_synced_at":"2026-05-10T03:52:07.598Z","repository":{"id":283529919,"uuid":"952073679","full_name":"Sunnysingh1231/spring_security_configuration","owner":"Sunnysingh1231","description":"\"Implemented user authentication with signup, login, home, and logout APIs using Spring Boot and Spring Security.\"","archived":false,"fork":false,"pushed_at":"2025-03-21T18:40:26.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T22:58:00.545Z","etag":null,"topics":["css3","html","java-17","mysql","mysql-databases","springboot","springsecurity"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Sunnysingh1231.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":"2025-03-20T17:31:13.000Z","updated_at":"2025-03-29T02:18:33.000Z","dependencies_parsed_at":"2025-03-20T18:51:53.260Z","dependency_job_id":null,"html_url":"https://github.com/Sunnysingh1231/spring_security_configuration","commit_stats":null,"previous_names":["sunnysingh1231/signup-loginusingspringboot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunnysingh1231%2Fspring_security_configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunnysingh1231%2Fspring_security_configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunnysingh1231%2Fspring_security_configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunnysingh1231%2Fspring_security_configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sunnysingh1231","download_url":"https://codeload.github.com/Sunnysingh1231/spring_security_configuration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125579,"owners_count":21051767,"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":["css3","html","java-17","mysql","mysql-databases","springboot","springsecurity"],"created_at":"2025-04-09T22:58:02.815Z","updated_at":"2026-05-10T03:52:07.550Z","avatar_url":"https://github.com/Sunnysingh1231.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"***Spring Security Project with MySQL Authentication***\n\nThis project is a Spring Boot application that implements Spring Security for user authentication and authorization. It includes a backend API for user registration, login, logout, and viewing all users, as well as a frontend demo with registration, login, and user management pages using mysql database.\n\n**Features**\n\n✅ Backend (Spring Boot \u0026 Spring Security)\nUser Registration API (/registration): Saves user data in a MySQL database.\nUser Login API (/login): Validates credentials and allows access if the user exists.\nUser Logout API (/logout): Logs out the authenticated user.\nView All Users API (/allusers): Displays all registered users (requires authentication).\nBCrypt Password Encoding: Ensures secure password storage.\n\n\n**Frontend (HTML, CSS, JavaScript) - Demo Pages**\n\nRegistration Page: Allows users to sign up.\nLogin Page: Users can log in with their credentials.\nView All Users Page: Displays all users after authentication.\nLogout Page: Provides an option to log out securely\n\n**Technologies Used**\n\nSpring Boot (Backend Framework)\nSpring Security (Authentication \u0026 Authorization)\nMySQL (Database)\nBCrypt Password Encoder (Password Security)\nHTML, CSS, JavaScript (Frontend for Demo)\n\n**API Endpoints**\n\nMethod\tEndpoint\tDescription\tAuthentication\n\nPOST\t/register\tRegister a new user\t❌ No\n\nPOST\t/login\tAuthenticate user login\t❌ No\n\nGET\t/allusers\tView all registered users\t✅ Yes\n\nPOST\t/logout\tLogout the user\t✅ Yes\n\n**Project Structure**\n\nspring-security-project/\n\n│── src/main/java/com/example/\n\n│   ├── config/               # Security configuration files\n\n│   ├── model/                # User model/entity\n\n│   ├── repository/           # Database access layer\n\n│   ├── service/              # Business logic layer\n\n│   ├── controller/           # API endpoints\n\n│   ├── SpringSecurityApplication.java  # Main entry point\n\n│── src/main/resources/\n\n│   ├── application.properties  # Database and security configuration\n\n│── frontend/                 # Demo frontend pages\n\n│   ├── welcome.html            # Registration Page\n\n│   ├── login.html            # Login Page\n\n│   ├── allusers.html            # View All Users Page\n\n│   ├── logout.html           # Logout Page\n\n│── pom.xml    \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunnysingh1231%2Fspring_security_configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunnysingh1231%2Fspring_security_configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunnysingh1231%2Fspring_security_configuration/lists"}