smr-garage-dashboard-ui

Get started by editingĀ pages/index.tsx

Environment variables

Store configuration values in the .env file (use .env.local for local development). Use the prefix NEXT_PUBLIC_ for values that need to be visible on the client side. Omit the prefix for values that should only be visible on the server (e.g. API keys, secrets, etc).

Use the env('CLIENT_SIDE_VALUE') helper to use the values on the client side (no need to add the prefix) and process.env.SERVER_SIDE_VALUE on server side code.