Hello,
To store data to database you need to use Create Service https://devcenter.appery.io/documenta...
Not sure I understand what contact do you mean. Please tell more details.
@Alena is right
If you are wanting to get from the database and place on a page, sounds like you need a list or similar component. You will have to map the $ in the service to the component. The tutorials should help you more there
To save a new record, you need a create service, and the save an existing one, an update service.
I suggest you make your create and update pages separate from each other at first and separate from the page that shows the list of all contacts.