diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f0f3de4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backend/config.yaml diff --git a/backend/config.yaml b/backend/config.yaml deleted file mode 100644 index 5cfbc46..0000000 --- a/backend/config.yaml +++ /dev/null @@ -1,44 +0,0 @@ -server: - port: 8080 - readTimeout: 15s - writeTimeout: 15s - idleTimeout: 60s - basePath: "/api/v1" # Matches OpenAPI server URL - -database: - url: "postgresql://postgres:@localhost:5433/postgres?sslmode=disable" # Use env vars in prod - -jwt: - secret: "your-very-secret-key-change-me" # Use env vars in prod - expiryMinutes: 60 - cookieName: "jwt_token" - cookieDomain: "localhost" # Set appropriately for your domain - cookiePath: "/" - cookieSecure: false # Set true if using HTTPS - cookieHttpOnly: true - cookieSameSite: "Lax" # Lax or Strict - -log: - level: "debug" # debug, info, warn, error - format: "json" # json or text - -oauth: - google: - clientId: "YOUR_GOOGLE_CLIENT_ID" # Use env vars - clientSecret: "YOUR_GOOGLE_CLIENT_SECRET" # Use env vars - redirectUrl: "http://localhost:8080/api/v1/auth/google/callback" # Must match Google Console config - scopes: - - "https://www.googleapis.com/auth/userinfo.profile" - - "https://www.googleapis.com/auth/userinfo.email" - stateSecret: "your-oauth-state-secret-change-me" # For signing state cookie - -cache: - defaultExpiration: 5m - cleanupInterval: 10m - -storage: - local: - path: "/" - # gcs: - # bucketName: "your-gcs-bucket-name" # Env: STORAGE_GCS_BUCKETNAME - # credentialsFile: "/path/to/gcs-credentials.json" # Env: GOOGLE_APPLICATION_CREDENTIALS \ No newline at end of file