matheusgomes28 / urchin

Headless CMS written in Golang
MIT License
60 stars 19 forks source link

Image endpoints #64

Closed AlDu2407 closed 5 months ago

AlDu2407 commented 5 months ago

GET endpoint:

DELETE endpoint:

General update:

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 37.60684% with 146 lines in your changes are missing coverage. Please review.

Project coverage is 41.09%. Comparing base (cf04c2f) to head (d8a25ab).

Files Patch % Lines
app/image.go 1.36% 71 Missing and 1 partial :warning:
database/database.go 0.00% 39 Missing :warning:
admin-app/image.go 72.13% 14 Missing and 3 partials :warning:
admin-app/post.go 36.00% 16 Missing :warning:
tests/mocks/mocks.go 75.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #64 +/- ## ========================================== - Coverage 41.68% 41.09% -0.60% ========================================== Files 15 18 +3 Lines 758 876 +118 ========================================== + Hits 316 360 +44 - Misses 404 476 +72 - Partials 38 40 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

matheusgomes28 commented 5 months ago

Issues spawned from this work are #65 and #66

AlDu2407 commented 5 months ago

I added the required functionality to the app. Also, refactored the GET image endpoint in the admin app. Improved the handling of the NavBar.

Hope this is fine for you.