angular2 - write input values in a .json file
<p>building my application in angular2 i got some questions which don't seem to be answered in any tutorial:</p>

<p>i would like to store data from <code>input-fields</code> into a <code>.json</code> file which is local and part of my project (therefore in a directory - for example <code>../app/testdata/testdata.json</code>). By <code>GET</code> and <code>POST</code> i would like to receive or change the displayed data in the gui of my application.</p>

<p>is this even possible or is an external api/database for these requests required? 
is there a better way to do so if no backend is evaluated till now?</p>