m-drzewko / WFRP2_NPC_generator_UI

UI for NPC generator for Warhammer Fantasy RolePlay 2ed
1 stars 0 forks source link

Add a post request #3

Closed szymonstuszek closed 2 years ago

szymonstuszek commented 2 years ago

Do after: https://github.com/m-drzewko/wfrp_npc_generatorr/issues/1

We have an example in the project to display data from the backend, add functionality to send data from the frontend to the backend.

We can start with a dummy implementation: The data sent to the backend can be hardcoded, for example try to send a string from the frontend and read it on the backend. Later on, we'll add some forms.

Reference: https://angular.io/guide/http

You will need to get familiar with observables for this task: https://angular.io/guide/observables https://angular.io/tutorial

m-drzewko commented 2 years ago

This was actually already done here: #5