/vote

Primary LanguageJava

voteBackend

Overview of the Basic framework

The first layer, is MVC model, which maps endpoint (like a url) to function and convert object from service to HttpResponse

The second layer is the service layer, which does the core management logic. It finds and filters data according to the frontend's request. It also help to record opinionPoll's info and manage the feedback to the specific policy.

The third layer is to interact with NoSQL database.

The Fourth is the elasticsearch and Redis, where we store data voteBackend

Business Logic

MP/Party/Event/opinionPoll Management Service

Policy Track

Feedback to Policy