This project, which can reach organizations according to the interests and location of the person; It has been realized in order to facilitate the finding of clubs , organizations , communities or associations of their own interests in the regions where people live and travel.
The realization of the project will provide great convenience for both organizations and people. It is aimed to use it all over the world when designing the project. Thanks to the project we have realized, people will be able to reach and communicate with the organizations they are looking for in a very simple way. At the same time, organizations, associations, communities or clubs will be able to register to the system and facilitate their accessibility. This platform, organization owners' advertising and so on. It will provide minimizing the situations that require costs such as.
Our project; It has 5 models. These are User (User), Organization (Organization), Photo (Photo), Category (Category, Interest, Hobby) and Contact (Communication). These assets have a relationship with each other. The user (user) model has a photo (photo) model and OneToone (one -on -one) relationship. So a photo can only belong to a user, a user can only have a photo.
The user (user) model has a Category (Category, Interest, Hobby) model and Manymomany (Many). The user (user) model can have multiple hobbies, categories and interests. This field is kept in the "hashset" data type within the user model. The advantage of this is that the elements are not required to be sequential and the repetitive data is not kept (the same category cannot be added) and the data is kept with hashting method. It is also kept in the "hashset" data type for users in the category model. In this way, we can find all users who have registered in the system that has chosen a particular category.
Organization/Community (Organization) model (photo) model has a relationship with the Onetomany (multiple). This means; A community can have multiple photos. The Contact (Communication) Model of the Organization/Community Model has one (one -on -one) relationship. We specify that each organization can only have one Contact model, and that each Contact (Communication) model can only have one organization.
The organization/community model has a Manytoone (already one -to -one) relationship with the category (category, interest, hobby) model. This means that an organization may only belong to one category, but there may be more than one organization in one category.
You don't need to create any table in our Spring MVC project developed with the ORM technique JPA/Hibernate. After creating a Schema and identifying the name of your database, you should edit according to the name Schema, which you have set the URL address in the DB.properties file, and you should correct the Username Password fields according to your information.
In the project, the images of the user's pictures and organizations in the project are located in the "images" folder for users in the knee in the system, in the "Organizations" folder within the organizations. If you want to change this, it should edit the imageuploadoperations method in the UserController and OrganizationController classes and update the Adsourcehandlers method in the SpringWebconfig class. It must also update the PATH field on the relevant JSP pages.
In addition, the country, province, district information in the project is located in the JSON data type /web/assets/json folder. You can update this area.
In addition, Hibernate Validator was used to provide Validation process in the project. When the user or the organization registers to the system, the warning is given and the same page is shown again when it leaves the places that should not be left blank. You can update this place to change these messages.
To change the language of the system; We need to add a parameter such as "? Language = TR" to the last part of the address in the address bar. The system currently supports two languages, Turkish and English. In order to display the project in English, we need to be arranged as "? Language = most". In order to automate this process, the Turkish flag and the British flag were added at the bottom of the pages. By clicking on these flags, we can easily change the language of the system.
You can update/change the relevant messages here.
Lovers