angrun / tinder

Spring Boot + Vue.js tinder application
15 stars 5 forks source link

Confirm on application architecture #2

Open angrun opened 5 years ago

angrun commented 5 years ago

We should clarify following questions:

kapive commented 5 years ago

Db - MySql As solution for authorization process I am suggesting a comparison of password hashes. 5Php has method hash() witch can encrypt password to a hash and after that we can put this hast into our SQL tables in db(during registration process). When user is trying to log in, we can compare has from our table by using as key username and hash of password web. About controllers: for me it is easier to devide functionality of website to main classes, for example: registration class and its controller, authorization class and its controller, chat class and its controller, match options class and its controller.