Developer: Daniil Livitin
Technical Stack:
- Java, Spring Framework, Liquibase, PostgreSQL, Swagger
In order to install this project locally, proceed with the following steps:
- Clone this repository to your machine using command:
git clone https://github.com/Dablup/REST_survey_app.git
- Then, you need to create a database and specify the path to it in the
application.properties
.
Note: Path toapplication.properties
: application.properties
spring.datasource.url=jdbc:postgresql://localhost:5432/akvelon
spring.datasource.username=postgres
spring.datasource.password=root
- Using the command line, navigate to the root folder of the project and run the command:
mvn clean install
- After a successful build, you need to run the command:
java -jar .target/akvelon-0.0.1-SNAPSHOT.jar
or
java -jar target/akvelon-0.0.1-SNAPSHOT.jar
-
To check the documentation of the API, you need to run the project and then follow this link: Swagger Documentation
-
When you start the project it automatically creates needed tables in database. Besides, it inserts some data to db. It is done with the help of liquibase.