Since Nuxt Auto CRUD is built on standard Nuxt and NuxtHub practices, you can deploy it to any provider that supports Nuxt. However, NuxtHub is the recommended platform for the easiest experience with the database.
Ensure you set the following environment variables in your production environment (e.g., via the NuxtHub dashboard or your provider's settings):
NUXT_SESSION_PASSWORD: A long, random string (at least 32 characters) used to encrypt user sessions.NUXT_ADMIN_EMAIL: The email address of the initial admin user. This is used for seeding the first admin account.NUXT_ADMIN_PASSWORD: The initial password for the admin account.Your production database permissions start empty.
The system is designed to auto-seed the essential data (like the default Admin role and user) the first time you log in with the Admin credentials configured in your environment variables.
NUXT_ADMIN_EMAIL and NUXT_ADMIN_PASSWORD.Crucial Step: Your local SQLite database (where you configured roles and permissions) is NOT uploaded to production.
Once you have logged in as Admin (which triggers the seeding):