API REST for the Finance Manager application (not complet yet)
Project link on heroku: https://finance-manager-spring-api.herokuapp.com
- Java
- Spring Boot
- MySQL
- JPA
- OpenSwagger
- H2
- Save a Despesa
- Get all Despesas
- Get a specific Despesa
- Uptade a specific Despesa
- Delete a specific Despesa
- Filter Despesas
-
Java - 1.8.x
-
Maven - 3.x.x
-
MySQL - 5.x.x
1. Clone the application
git clone https://github.com/Itor-Carlos/Finance_Manager-API.git
2. Create MySQL database
create database finance_manager
3. You can choose the profile that will be used
-
To choose the profile, acess
src/main/resources/application.properties
-
If you choose test profile, acess
src/main/resources/application.properties
and change the parameterspring.profiles.active
totest
-
If you chose dev profile, acess
src/main/resources/application.properties
and change the parameterspring.profiles.active
totest
. After the previous step, acesssrc/main/resources/application-dev.properties
and changespring.datasource.username
andspring.datasource.password
as per your mysql installation
4. Build and run the app using maven
mvn spring-boot:run
-
The application will be start running at http://localhost:8080
-
You can acess the api-docs from this application. To do this, go to http://localhost:8080/despesa-api/swagger-ui-custom.html after start application