s3-kennisbank

View the Project on GitHub HU-SD-S3/s3-kennisbank

Data Exchange Challenge Documentation

This challenge is about the data exchange between different web components. In the core the site will show a form to submit user data and a list to display the submitted data. The user should be able to add, edit and delete data entries.

Frontend design

Sitemap

The site of this challenge will be divided into two main parts:

Adding data will trigger an update of the list as does editing or deleting an item from the list. This results in three web components:

To facilitate a mediator pattern between the data-list en data-form components, a parent component data-exchange will also be created.

Sitemap

Wireframe

The wireframe below shows the layout of the components on the page.

Wireframe

In case of editing an item, the form will be pre-filled with the data of the selected item and the button text will change from "Add" to "Update".

Components documentation

Select the component to view its documentation:

Backend design

To store the submitted data, we will use a simple REST API with the following endpoints:

The backend will be realized by using JSON Server, a simple tool to create a REST API with zero coding.