ita-social-projects / dokazovi-be

The platform for verified medical speakers and their recommendations.
MIT License
13 stars 11 forks source link

To implement an API endpoint for the site's information page #364

Closed StanislavKucher closed 3 years ago

StanislavKucher commented 3 years ago

Story link

208 Story

Task description

To implement an endpoint that enables the manipulation of the data regarding the general information about the site (terms of use, contact details and so on)

To do

1 - add a new endpoint to the constants list of endpoints 2 - add a new entity - ContentEntity 3 - add a new DTO - ContentDTO 4 - add ContentMapper 5 - implement a new API endpoint controller for adding and fetching content 6 - implement repository for receiving and updating content 7 - implement service for receiving and updating content 8 - add SQL script for creating a new table - site_dynamic_content (or site_description \ site_description_content) 9 - populate the DB with test data 10 - implement test for the code hereinabove described 11 - add new permissions for admin role 12 - write SQL script for adding new permissions into DB and append it to the DB migration

[Estimating]