When running the app in development mode, you have the possibility to run it using Docker contains. If you are doing this, a database will automatically be created.
When it comes with the production mode, I strongly recommend you to use a remote database. Here is a list of free services that you can use:
Free Cloud PostgreSQL Hosting Services
These services provide free-tier PostgreSQL databases with some limitations:
- Neon.tech – Serverless PostgreSQL, 1 GB free storage.
- Supabase – Managed PostgreSQL with APIs, 500 MB free.
- Render – Free PostgreSQL (100 MB storage, sleeps on inactivity).
- ElephantSQL – Free Tiny Turtle plan (20 MB storage).
- Aiven – Free trial with 5 GB PostgreSQL database.