Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.65 KB

Readme.md

File metadata and controls

37 lines (31 loc) · 1.65 KB

REST Survey App

Developer: Daniil Livitin

Technical Stack:

  • Java, Spring Framework, Liquibase, PostgreSQL, Swagger

How to install project?

In order to install this project locally, proceed with the following steps:

  1. Clone this repository to your machine using command:
    git clone https://github.com/Dablup/REST_survey_app.git

  2. Then, you need to create a database and specify the path to it in the application.properties.
    Note: Path to application.properties: application.properties
spring.datasource.url=jdbc:postgresql://localhost:5432/akvelon
spring.datasource.username=postgres
spring.datasource.password=root
  1. Using the command line, navigate to the root folder of the project and run the command:
mvn clean install
  1. 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

Important points:

  1. To check the documentation of the API, you need to run the project and then follow this link: Swagger Documentation

    image

  2. 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.

  3. All tests were passed during building the project.

    image