{"id":18858038,"url":"https://github.com/kvbc/user-login-app","last_synced_at":"2025-10-11T23:32:04.578Z","repository":{"id":142635492,"uuid":"500108085","full_name":"kvbc/user-login-app","owner":"kvbc","description":"User login app build with front-end communicating with Spring back-end through REST API","archived":false,"fork":false,"pushed_at":"2022-06-05T14:41:14.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T23:31:56.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/kvbc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-06-05T13:39:38.000Z","updated_at":"2022-08-31T23:00:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"64c298c2-4c36-4a7a-83aa-85351e82a093","html_url":"https://github.com/kvbc/user-login-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kvbc/user-login-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fuser-login-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fuser-login-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fuser-login-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fuser-login-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvbc","download_url":"https://codeload.github.com/kvbc/user-login-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Fuser-login-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009390,"owners_count":26084580,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":[],"created_at":"2024-11-08T04:09:38.533Z","updated_at":"2025-10-11T23:32:04.565Z","avatar_url":"https://github.com/kvbc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# user-login-app\n\n![Przechwytywanie](https://user-images.githubusercontent.com/64214044/172055916-8e28d59b-d298-45f6-91b6-3ba81eae38f5.JPG)\n\nThe .css is 99.9% stolen\n\n### Spring dependencies\n- Spring Web\n- Spring Security\n- Spring Data JPA\n- MySQL Driver\n- Lombok\n\n### SQL Table\n```sql\nCREATE TABLE users(\n    id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,\n    login VARCHAR(255) NOT NULL,\n    password VARCHAR(255) NOT NULL\n);\n```\n\n### REST API\n\nRetrieve the information of user with the ID of **MY_ID**  \n`curl -X GET http://localhost:8080/api/user/MY_ID`\n\nRetrieve the list of all registered users  \n`curl -X GET http://localhost:8080/api/user`\n\nDelete all registered users  \n`curl -X DELETE http://localhost:8080/api/user`\n\nRegister user **MY_LOGIN** with password **MY_PASSWORD**  \n`curl -X POST -H \"Content-type: application/json\" -d \"{\\\"login\\\":\\\"MY_LOGIN\\\",\\\"password\\\":\\\"MY_PASSWORD\\\"}\" http://localhost:8080/api/user/register`\n\nLogin as user **MY_LOGIN** with password **MY_PASSWORD**  \n`curl -X POST -H \"Content-type: application/json\" -d \"{\\\"login\\\":\\\"MY_LOGIN\\\",\\\"password\\\":\\\"MY_PASSWORD\\\"}\" http://localhost:8080/api/user/login`\n\nDelete user **MY_LOGIN** with password **MY_PASSWORD**  \n`curl -X POST -H \"Content-type: application/json\" -d \"{\\\"login\\\":\\\"MY_LOGIN\\\",\\\"password\\\":\\\"MY_PASSWORD\\\"}\" http://localhost:8080/api/user/delete`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvbc%2Fuser-login-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvbc%2Fuser-login-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvbc%2Fuser-login-app/lists"}