Created With Using Maven - Spring Boot - H2 Database - Hibernate - Swagger - (Spring Security(Not Completed))
-
Download this repo to your local machine. Use
git clone https://github.com/zumrudu-anka/SimpleTourApi.git
command on your git console. If you haven't Git, you can use download zip button where on the Clone or download dropdown menu -
➥ When cloning is finished, open the project directory in a java environment. For Example Eclipse IDE.
Run this project as Java application.
➥ If you want run this project with using maven commands.
Open terminal in the editor and go to project directory and usemvnw spring:boot run
command.
Note: If you get an error likeJAVA_HOME not found in your environment
on terminal, you must add JAVA_HOME to your system variables.
➥ Or you can easily run the package of the project in the terminal with java.
Open the Terminal and go to directory which name is target where in the project directory.
Enter thejava -jar GFTour-0.0.1-SNAPSHOT.jar
command on the terminal. -
➥ For Login :
username = anka
,password = 12345
You can see Open API Documentation which created with using swagger while the application is runnning.
You can try API methods by swagger-ui or use PostmanYou can connect H2 Database(In Memory Database) with
username = kafeinTech
andpassword = 12345
while the application is running.