monitorizare-vot
monitorizare-vot copied to clipboard
Enhance result of GET /api/v1/form
Add two more fields to the returned info:
-
questionsNo
- the total number of questions from the form -
lastEditedOn
- the date & time when the form was last edited (a new column should be added in the db for this, if it's missing; updating this value in the db will be handled in a another issue)
HI @aniri, Could I work on this issue?
@hphan9 sure, thanks!
Hi @aniri, I have some issues getting the project running. I have some questions that I hope you can help me answer. What is the best way to communicate with you or the team? Thank you very much.
Hi @hphan9 , can you please tell us your questions here and we'll see how to fix those issue. Thanks!
Hi @aniri , when I run this command
src\api\VoteMonitor.Api> dotnet run
It fails because of this error
fail: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
Health check Firebase completed after 0.8464ms with status Unhealthy and '(null)'
fail: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
Health check AzureBlobStorage completed after 3.0031ms with status Unhealthy and '(null)'
I have set up the database successfully, and updated the connection string in appsetings.json file in txt type .
I am attaching the appsetings.json file here and a picture of my database
.
appSettingJSON.txt
Could you please check and let me know if I missed something?
Hi @hphan9 , can you please try this branch https://github.com/code4romania/monitorizare-vot/pull/384 and tell me if it is failing again ?
Thanks
Hi @idormenco, I tried it but I still got the same error.
@hphan9 you are right , please change in appsettings EnableHealthChecks
to false