This application is a Rest API for customer information. The main software language is Java
and spring-boot
, jsonwebtoken
, devtools
, mssql-jdbc
have been used. On the database side, MsSql
is preferred.
The purpose of this application is to provide convenience for programs that need to connect with the database. Thanks to the Rest API, data can be easily managed using the same API in mobile or web-based applications.
First, you need to add a custom application.properties file under the src / main / resources file. You should definitely include the following in the application.properties file and fill in the --------- fields according to yourself.
server.port=8090
spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.url=jdbc:sqlserver://localhost;databaseName=----------------------;integratedSecurity=true;portNumber=1433
spring.datasource.username= ---------------
spring.datasource.password= ----------------------
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect
jwt.secret=springbootapp
spring.main.allow-bean-definition-overriding=true
File -> Import -> Maven -> Existing Maven Project -> "show the file path of the application you downloaded"
I recommend using Postman for doing rest api trials. For download: https://www.postman.com/downloads/