These are some dependencies used in this repository:
- Java 8+
- Gradle
- PostgreSql
- Clone repository:
git clone https://github.com/gabriellmandelli/pro-service-api.git
- Running with Docker:
cd pro-service-api
sudo docker build -t proserviceapi .
sudo docker images
docker run -t -p 8000:8080 --name dockerize proserviceapi
- Running with IntelliJIDE:
File/Open..
select path "pro-service-api"
Update dependencies with gradle
select the main class "com.proService.maintanance.MaintananceApplication"
select to use classpath of module "maintanance.main"
select JRE Java 8+
Run api
- Running the application you can:
- To access the documentation created with Swagge http://localhost:8080/swagger-ui.html#/.
- To import in insomnia, select the option "Import Data" and then "From URL" and put the link http://localhost:8080/v2/api-docs to be imported all the endpoints to your Workspace.
- Lucidchart
- Spring Initializr
- IntelliJIDE
- Insomnia