J
J
javaProger982019-05-15 01:39:00
Java
javaProger98, 2019-05-15 01:39:00

java registration form

It is necessary to implement a registration form for web portal users, as well as the ability to view a table of existing users and the ability to edit their personal data.
I've never worked with java for the web, so I'm asking for good resources and development tips. On the stack, I will use spting boot and hibernate. I have a MAC OS problem with the database, then MySQL will not work, what would you recommend for a replacement?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2019-05-15
Hasanly @azerphoenix

Greetings!
1) go here https://start.spring.io/
and select dev tools, web, mysql (or postgres), jpa, thymeleaf, security
2) registration and authorization is implemented using spring security
3) create a configuration file (@Configuration ) and prescribe your config for security
4) create a template using thymeleaf (in fact, you first need 2 forms - an authorization form and a registration form). If necessary, you can add a password recovery form and an account verification mechanism
5) implement a method that returns a list of all users with all dependencies and output to the front-end using a template engine. Look to the sideModel, model.addAttribute() th:each
6) create a profile editing form and a method in the controller that accepts and processes all this.
And here is the video - https://www.youtube.com/watch?v=WDlifgLS8iQ
By the way, freemarker is used there, you can choose any one you like (mustache, thymeleaf, freemarker, etc.)
I have a MAC OS problem with the database,
I'm not a Mac expert, but as far as I know there should be no problems with the database. So take mysql || postgres
https://dev.mysql.com/doc/mysql-osx-excerpt/5.7/en...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question