Simplistic solution for voting.
- Start Azurite:
docker-compose up -d - Start application, e.g. by running in IDE or
dotnet run --project vote
Swagger is found here:
-
First add some
participants -
These can these can now be added to a
poll -
You can now add your votes. The
/Voteendpoint requires Login and this is done by posting to/auth/token:
{ "username": "NDC_USER", "password": "NDC_PASSWORD" }- You can get results for a
pollby using/admin/votes/voteCounts/{id}where theidis theidfrompoll-response into