This service intends to provide a way for Sicredi associates voting on subjects through REST API based solution.
In order to run this application, make sure the following dependencies are configured in your local environment:
In case of running the application from IDE, do not forget to enable annotation processing for lombok and set active profile to local
spring.profiles.active=local
- It's mandatory to have MongoDB running at default port 27017 in your local environment.
- Swagger [Only when application is running]
Clone github repository:
git clone https://github.com/mourabd/voting.git
Run the following commands from root application folder:
gradlew build bootRun
The application should be running at port 8081.
Clone github repository:
git clone https://github.com/mourabd/voting.git
Run the following commands from root application folder:
gradlew clean build
docker-compose build
docker-compose up
The application should be running at port 8081.
- Programming language: Java 11 + Spring Webflux
- Build automation tool: Gradle
- Tests (unit and integration): JUnit and mockito
For implementation details please refer to this file [pt-BR]