Welcome Freddy
The following might help you
-
Here is a link where a seismograph app was created. Parts of the Project might be useful to you. Plotting a line graph using canvas - #2 by SteveJG The app might help you monitor both x, y and z acceleration. Delete z if you must.
-
App Inventor apps cannot run in the background (without an extension). You either need to code a StayAwake routine to prevent the app from sleeping (heavy battery usage) or figure out how to use something like [FREE] Background Tasks: Itoo and get your code to work with the extension.
-
you could record data using a TinyDB because your phone might not provide a Web link in that faraday cage.
Good luck with your Project.