Default app doesn't actually write the "dreams" to the database

Bug report!

Steps to reproduce

  1. Create a brand new fresh Glitch app and choose the hello-sqlite template.
  2. Click the Show button or head to
  3. Type a “dream” in the box
  4. Refresh the page

What I expected

To still see my “dream” in the list.

What actually happens

It’s gone! The list is back to the default.


It would be super nice to have a template app that both reads from and writes to a database!

1 Like

This isn’t a bug, it’s by design and is mentioned in the source code itself.

There’s a template app with read/write capabilities in this collection:

1 Like

I see. Thanks! (I’d argue that the default app would be more useful as a starting point if it was more complete though.)

1 Like