CONTENT
- Jason Web Token
- Java 11
- IntelliJ Idea
- Spring Data JPA
- Validation
- Developer Tools
- Postgre SQL
- Open API
- Lombok
- Hateoas
About the project file;
Project Subject: Writing the service that determines the final prices of the products in a market according to the sales prices, using the Spring Boot Framework. Before you run and use this project, please read the readme file and main story by clicking below links.
- Clone the repo
git clone https://github.com/165-Softtech-Patika-Java-Spring/bitirmeprojesi-ArdaNogay.git
- Install JDK-11 and switch to it.
- Import the project to your IDE.
- Find the pom.xml file in the project files and select it to proceed. This step will make the necessary project settings for you.
- Create a new database by using PgAdmin on PostgreSQL.
- If you want, you can run the project on IDE too by applying required configurations.
- Open the swagger ui on your browser. Default link -> http://localhost:8080/swagger-ui.html
- Send request to endpoints (The project is running on the 8080 port by defalt).
- If you want to fill the category table quickly, you can access the database script by clicking the link below and run these commands in the database. ->https://github.com/165-Softtech-Patika-Java-Spring/bitirmeprojesi-ArdaNogay/blob/main/scripts/import_category.sql
- Thus, the table in the image will quickly fill up for you.
- In order to use the services, you must first register with the system.
- Login to the system with the user you created.
- After logging into the system, do not forget to get tokens from the reply you receive in order to be able to use the service.
- Click the "Authorize" button on the top right of the Swagger page.
- In the window that opens, enter the token given to you and verify your permission for service uses.
You now have the necessary permission to use all services. All services are waiting for you to use.
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request.
Ceyhan Arda Nogay: https://www.linkedin.com/in/ardanogay
Project Link: https://github.com/165-Softtech-Patika-Java-Spring/bitirmeprojesi-ArdaNogay