Skip to content
Martina Fernandez Suarez edited this page Apr 4, 2024 · 3 revisions

Welcome to the newsMagazine wiki!

1) How does this webpage work?

The front end site requests the database information through a custom REST API and displays it.

The front can also pass data to the API for it to handle the updates, addings and deletes that will modify the database in a secure and controlled way.

The database contains a schema called articles_archive, this is meant to store articles older than one year that should only be shown when specifically searching for them in /allArticles.

Once this project is finished I will update the architecture diagrams. Currently this is how it's looking: General architecure, frontend connects with rest API which communicates with the database Database architecture. Three schemas compose the whole data storage

2) Access and roles

Every user has unrestricted read permissions since no private information is displayed on the site.

Both Writers and Artists can access a privileged view to update their personal profiles. Artists are people who collaborate with writers to create images for their articles, their profiles include biography, social media and an illustration that showcases their talent.

As to writers, they also have access to a form in which they can create news and format them with custom or preset styles.


Do you have any questions or suggestions for this wiki? Comment them below!