diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..0a754c6 --- /dev/null +++ b/.env.example @@ -0,0 +1,8 @@ +# Randomly generated secret key for cookies signing +REMIX_COOKIE_SECRET="sEcReT" +GOMMERCE_GRPC_ENDPOINT="http://localhost:50050" +GOMMERCE_AUTH_REALM="admin" +# Client basic auth token, calculated as btoa(secret_key + ':' + secret_code) +GOMMERCE_CLIENT_TOKEN="Og==" +# https://www.prisma.io/docs/orm/overview/databases/postgresql#connection-details +PRISMA_DATABASE_URL="postgresql://postgres:root@local@localhost:5432/gommerce?schema=public" diff --git a/.vscode/settings.json b/.vscode/settings.json index 3007003..42d2cbc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,7 +12,8 @@ "public/build": true }, "files.associations": { - "*.css": "tailwindcss" + "*.css": "tailwindcss", + ".env.*": "properties" }, "editor.quickSuggestions": { "strings": "on"