{"id":22567781,"url":"https://github.com/patrickjamesrepo/springmatrixreglogin","last_synced_at":"2025-03-28T13:42:31.111Z","repository":{"id":261155295,"uuid":"883373391","full_name":"PatrickJamesRepo/SpringMatrixRegLogin","owner":"PatrickJamesRepo","description":"Spring Boot Responsive Registration/Login ","archived":false,"fork":false,"pushed_at":"2024-11-05T16:41:54.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T14:12:16.587Z","etag":null,"topics":["bootstrap","h2-database","java","javascript","jpa-hibernate","spring","springsecurity","thymeleaf"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PatrickJamesRepo.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-04T21:13:28.000Z","updated_at":"2024-11-05T16:41:57.000Z","dependencies_parsed_at":"2024-11-05T02:18:19.503Z","dependency_job_id":"7930701c-5c61-4603-b249-cd7917847862","html_url":"https://github.com/PatrickJamesRepo/SpringMatrixRegLogin","commit_stats":null,"previous_names":["patrickjamesrepo/springmatrixreglogin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FSpringMatrixRegLogin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FSpringMatrixRegLogin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FSpringMatrixRegLogin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJamesRepo%2FSpringMatrixRegLogin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PatrickJamesRepo","download_url":"https://codeload.github.com/PatrickJamesRepo/SpringMatrixRegLogin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246040890,"owners_count":20714080,"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":["bootstrap","h2-database","java","javascript","jpa-hibernate","spring","springsecurity","thymeleaf"],"created_at":"2024-12-08T00:09:09.872Z","updated_at":"2025-03-28T13:42:31.093Z","avatar_url":"https://github.com/PatrickJamesRepo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Login Image](https://raw.githubusercontent.com/Fall2024-NSCC-ECampus/assignment-2-responsive-user-registration-w0140158/main/login.png)\n![Login Image 1](https://raw.githubusercontent.com/Fall2024-NSCC-ECampus/assignment-2-responsive-user-registration-w0140158/main/login2.png)\n\n\n# Responsive User Registration\n\nThis project is a responsive user registration and login system built with Spring Boot and Thymeleaf. It enables users to register, login, and logout while offering client and server-side checks for unique usernames and emails.\n\n## Table of Contents\n1. [Technologies Used](#technologies-used)\n2. [Setup and Installation](#setup-and-installation)\n3. [Endpoints](#endpoints)\n\n---\n\n## Technologies Used\n\n- **Java**: The primary language for the backend logic.\n- **Spring Boot**: For building a stand-alone, production-grade Spring-based application.\n- **Spring Security**: For securing user authentication and authorization.\n- **Thymeleaf**: For server-side rendering of HTML templates.\n- **Bootstrap 5**: For responsive and modern UI styling.\n- **H2 Database**: In-memory database used for development and testing.\n- **JPA/Hibernate**: For ORM and database interactions.\n- **JavaScript**: For front-end interactivity, including Matrix effect background.\n\n---\n\n## Setup and Installation\n\n1. **Clone the Repository**\n   ```bash\n   git clone https://github.com/Fall2024-NSCC-ECampus/assignment-2-responsive-user-registration-w0140158.git\n   cd assignment-2-responsive-user-registration-w0140158\n   ```\n\n2. **Build and Run**\n    - You can build and run the application with Maven or your IDE:\n      ```bash\n      mvn spring-boot:run\n      ```\n    - Or run the application directly from your IDE.\n\n3. **Access the Application**\n    - Once running, access the application at `http://localhost:8080/register`.\n\n---\n\n## Endpoints\n\n| HTTP Method | Endpoint             | Description                                |\n|-------------|-----------------------|--------------------------------------------|\n| GET         | `/register`           | Displays the registration form             |\n| POST        | `/api/auth/register`  | Registers a new user                       |\n| POST        | `/api/auth/login`     | Authenticates a user                       |\n| GET         | `/index`              | Displays the index (main) page             |\n| GET         | `/login`              | Displays the login form                    |\n| POST        | `/api/auth/logout`    | Logs out the current user                  |\n| GET         | `/api/auth/check-username` | Checks if a username already exists  |\n| GET         | `/api/auth/check-email`    | Checks if an email is already registered |\n\n---\n\n## Additional Information\n\n### Registration and Login\n- **Register**: Users can register with unique usernames and emails.\n- **Login**: Authenticates users using Spring Security, with username and password.\n\n### Styling and UX\n- Responsive design using Bootstrap 5 for both desktop and mobile views.\n- Matrix background effect created with JavaScript for aesthetic.\n\n---\n\n## License\n\nThis project is for educational purposes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjamesrepo%2Fspringmatrixreglogin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickjamesrepo%2Fspringmatrixreglogin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjamesrepo%2Fspringmatrixreglogin/lists"}