![]() ![]() ![]() The user's password is encrypted afterwards on the server side, then the UserService saves the user model generated to the database. When the user submits their username and desired password, it passes a ModelAttribute parameter of type User, along with a model based on the input field of the page. The RegisterController returns the register.html page at the "/register" directory when the user requests it. The HomeController simply listens for the root directory and returns the home.html view. The application has 4 different web-pages that can be interacted with, and one controller is needed for each of them. Each package deals with its own set of solutions for a certain Controllers The application is separated into 5 sub-packages. It's not fancy, but it's not supposed to be! Thymeleaf in this application is used for consuming and displaying Spring models as readable text for the end-user. ![]() The view is built with HTML, Thymeleaf and minimal CSS for pure functionality. It has a session system as well that allows you to stay logged in until your IP changes. It allows the app to require logins on certain pages so they cannot be viewed unless the user is logged in. Spring Security is used to manage user authentication. User data is stored in a MySQL database and the passwords are encrypted with BCrypt. The user can add and remove items from this list thanks to MVC, making it their own list. The program works by persisting users and a list of text items in a database associated with that user. The application uses Spring and the MVC design pattern to allow simple user interaction through a web-client. ![]() Todo-List was made with Java, Spring, Hibernate, CSS and MySQL. Todo-List is a simple web application where users can create their own todo-list. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |