{"id":21430198,"url":"https://github.com/cuba-platform/sample-user-registration","last_synced_at":"2025-03-16T21:44:57.274Z","repository":{"id":16344812,"uuid":"74298039","full_name":"cuba-platform/sample-user-registration","owner":"cuba-platform","description":"Example of users self-registration","archived":false,"fork":false,"pushed_at":"2022-10-29T03:34:19.000Z","size":819,"stargazers_count":6,"open_issues_count":8,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T15:33:43.924Z","etag":null,"topics":["cuba-sample"],"latest_commit_sha":null,"homepage":"https://www.cuba-platform.com","language":"HTML","has_issues":false,"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/cuba-platform.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}},"created_at":"2016-11-20T19:40:55.000Z","updated_at":"2024-02-20T02:40:56.000Z","dependencies_parsed_at":"2023-01-11T20:24:50.461Z","dependency_job_id":null,"html_url":"https://github.com/cuba-platform/sample-user-registration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-user-registration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-user-registration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-user-registration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-user-registration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuba-platform","download_url":"https://codeload.github.com/cuba-platform/sample-user-registration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940063,"owners_count":20372044,"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":["cuba-sample"],"created_at":"2024-11-22T22:21:29.802Z","updated_at":"2025-03-16T21:44:57.252Z","avatar_url":"https://github.com/cuba-platform.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Registration\n\nThis is a simple example of using anonymous access to an application, i.e. taking some actions before login. Users can click the *Register* link on the login screen and register in the application with a new login name and password. \n\n* [ExtLoginScreen](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/web/src/com/company/sample/web/screens/loginscreen/ExtLoginScreen.java) is an extension of the standard login screen. It adds the *Register* link and can receive new user credentials back from the register screen to set them to the fields.\n\n* [RegisterScreen](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/web/src/com/company/sample/web/screens/register/RegisterScreen.java) accepts new user credentials and creates a new user in the database with the specified group and role. \n\n* [RestorePasswordScreen](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/web/src/com/company/sample/web/screens/restorepassword/RestorePasswordScreen.java) generates a new password for an existing user and sends e-mail message with the generated password.\n\n* [RegistrationService](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/global/src/com/company/sample/service/RegistrationService.java) is a simple service that provides user registration functionality. It can be created manually or simply using Studio (see how to [create](https://doc.cuba-platform.com/manual-7.1/service_creation.html) and [using](https://doc.cuba-platform.com/manual-7.1/service_import.html) services).\n\n\n* [app.properties](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/core/src/com/company/sample/app.properties) sets location of e-mail templates for password reset.\n\nBased on CUBA Platform 7.2\n\n## Issues\nPlease use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fsample-user-registration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuba-platform%2Fsample-user-registration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fsample-user-registration/lists"}