{"id":19998500,"url":"https://github.com/reafreitas1/lotto_backend","last_synced_at":"2025-05-04T14:31:08.598Z","repository":{"id":196925756,"uuid":"459698987","full_name":"reafreitas1/lotto_backend","owner":"reafreitas1","description":"February/2022 - Backend project: \"The Lottery\". The entire backend for registering new users, validating data and linking to the database.","archived":false,"fork":false,"pushed_at":"2022-03-11T18:23:53.000Z","size":25055,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T07:19:54.389Z","etag":null,"topics":["controllers","eclipse","gitbash","java","jsp","model","persistence","pom","postgresql","tomcat-server","vraptor"],"latest_commit_sha":null,"homepage":"","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/reafreitas1.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}},"created_at":"2022-02-15T18:21:02.000Z","updated_at":"2022-03-17T06:03:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"be671c65-5454-4764-9ac4-444cf938bb50","html_url":"https://github.com/reafreitas1/lotto_backend","commit_stats":null,"previous_names":["reafreitas1/lotto_backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reafreitas1%2Flotto_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reafreitas1%2Flotto_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reafreitas1%2Flotto_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reafreitas1%2Flotto_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reafreitas1","download_url":"https://codeload.github.com/reafreitas1/lotto_backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252349385,"owners_count":21733823,"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":["controllers","eclipse","gitbash","java","jsp","model","persistence","pom","postgresql","tomcat-server","vraptor"],"created_at":"2024-11-13T05:08:38.207Z","updated_at":"2025-05-04T14:31:04.676Z","avatar_url":"https://github.com/reafreitas1.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/reafreitas1/lotto_backend/blob/master/assets/The%20Lottery.jpg?raw=true\"\u003e\n\u003c/p\u003e\n\n\n\u003ch1\u003elotto_backend \u003c/h1\u003e\n\u003ch3\u003e Java | Hibernate | VRaptor | PostgreSQL | TomCat \u003c/h3\u003e\n\n\u003ch4\u003e Backend features: \n\u003ch4\u003e \u003c/h4\u003e\n\n- Register users;\n- Save user data (such as: name, email, time and date of registration) in the Database table;\n- Validate if the data that the user registers is in accordance with the expected;\n- Return error messages to the user if he is registering wrong data. \u003c/h4\u003e\n\n***\n\n\u003ch4\u003eI developed the entire MVC Architecture in Java;\u003c/h4\u003e\n\u003ch4\u003e- Model: models the database table, with create and update methods; gets and setters to access and change each item in the table as a variable;\u003c/h4\u003e\n\u003ch4\u003e- View: each web page is a JSP file (HTML that JAVA understands) and has a controller, I can have methods in the controllers or directly in the JSP;\u003c/h4\u003e\n\u003ch4\u003e- Controller: are exactly the files that contain all the methods.\u003c/h4\u003e\n\n***\n\n\u003ch3\u003e Video below showing the active TomCat server, code, registration screen and finally the recording of user data in the database. \u003c/h3\u003e\n\nhttps://user-images.githubusercontent.com/79333175/154308557-4d596d26-ddf2-4c77-be6b-0b03bd50873f.mp4\n\n*** \n\u003ch3\u003e Below is a video of data validation returning an error message to the user. \u003c/h3\u003e\n\nhttps://user-images.githubusercontent.com/79333175/154308389-4351789e-9bd9-45b4-a69d-3aa3cb1c4f3d.mp4\n\n*** \n\u003ch3\u003e Below image of the code responsible for the validation. \u003c/h3\u003e\n\n![validation_code](https://user-images.githubusercontent.com/79333175/154308716-b86f1efe-f646-4a11-8dfe-cfffbae21e2b.jpg)\n\n\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/reafreitas1/lotto_backend/blob/master/assets/The%20Lottery.jpg?raw=true\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freafreitas1%2Flotto_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freafreitas1%2Flotto_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freafreitas1%2Flotto_backend/lists"}