This project is a solution to voting session management. In cooperativism, each member has one vote and decisions are made in assemblies, by voting. From this, the project will be the solution to manage these voting sessions.
https://documenter.getpostman.com/view/16226878/2s935hQSez
- Create a new agenda(developed);
- Starting a voting session on an agenda(developed);
- Receive votes from users on agendas(developed);
- Count the votes and give the result of the agenda vote(developed).
The following technologies were used in the construction of the project:
- Java
- Spring Boot
- JUnit
- Mockito
- PostgreSQL
- Swagger
- Spring Web
- Spring Data JPA
- Validation
- PostgreSQL Driver
You must have installed on your machine the tool Git and a nice editor, to work on the code. I recomend the IntelliJ IDEA. To run the routes, this project has the endpoints documented in swagger(http://localhost:8080/swagger-ui/index.html#/).
I) Clone this repository
$ git clone <https://github.com/Brms5/votingSessionApp.git>
II) Access the project folder in the terminal
$ cd ./voting-session
III) To download the project dependencies via maven
$ mvn clean install
IV) To start the project
$ mvn spring-boot:run
The server wil start on port:8080 - access <http://localhost:8080>