Do you have built-in persistence or a database?

We have a persistent file system, so anything you store within your project is kept even after your container sleeps. This means you can use files as a flat file database, save your database files locally, or use third-party storage services like a hosted MongoDB database or Redis. See our storage app collection for examples.

We recommend creating a folder called .data as a safe place to store your data files. This folder isn't copied when a project is remixed.

FAQs Using Glitch
Article last updated on