Skip to content

DocsAdd to your app

Your app’s database and the data viewer

When your app should remember something, such as orders, sign-ups or messages, it gets its own database. You do not set anything up; you say what should be saved.

Give your app a database

Ask for it in the chat, for example “save the contact form’s messages and show them on an admin page”. PeerMake turns the database on, adds the tables it needs and shows a Database ready card.

You can also turn it on yourself: open Data in your app’s menu and press Turn on the database. It takes a few seconds and costs nothing by itself.

Preview data and real data are separate

  • The preview has its own database with made-up sample records, so you can try everything without touching real data.
  • The published app gets its own database when you publish. It starts empty, and nothing from it ever reaches the preview.

To start the preview over, pick Preview data on the Data page and press Reset preview data. It removes every record in the preview, including ones you added while trying the app, and loads the sample data again.

Look at what is saved

  1. Open Data in your app’s menu.
  2. Choose Live data or Preview data beside the title, then a table under Tables.
  3. Rows come 8 at a time, the newest first when the table records when each was created; page with the arrows, and Refresh reads them again. Press a column’s name to sort by it, or type in the search box above the rows to see only the rows that contain those words. Hidden (secret) columns are never searched.

The card at the top shows the database’s storage, its tables and the changes to its shape; a change that waits for Publish is named there. The viewer is for looking, not editing. Passwords, sign-in tokens and other secrets are never shown, and every read is logged.

When a change touches real data

A change to how your data is organized is tried on the preview database first. It reaches your users’ data only when you publish. If a step would remove or rewrite data, the Publish panel lists it in plain words and waits for you to tick I understand, publish these changes.

To work on a request, PeerMake may ask to read your published app’s records. You see Let the agent read your live app’s data? with Allow once and Deny. Allowing it lasts for that one request, and personal details stay hidden.

What your apps read, write and store counts toward your credits, and each paid plan includes an amount of database storage for published apps (plans).

Something missing or wrong here? Write to support@peermake.app.