Conversation
- Create catalog-analytics Next.js service with Google OAuth - Implement authentication using @vector-institute/aieng-auth-core - Add protected /analytics route with session management - Create multi-stage Dockerfile optimized for Cloud Run - Add GitHub Actions workflow for automated deployment - Copy analytics page from main catalog with auth wrapper - Configure for deployment at catalog.vectorinstitute.ai/analytics
- Fix TypeScript error in logout route by providing fallback redirect URI - Fix Tailwind CSS configuration (use v3 syntax instead of v4) - Add missing dependencies (tailwindcss, postcss, autoprefixer, framer-motion, lucide-react) - Fix auth callback to use GoogleOAuthClient directly for user info - Add postcss and tailwind config files Build now completes successfully with no errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the initial implementation of the
catalog-analyticsservice, including infrastructure for deployment, authentication, and frontend styling. The main changes set up a secure, branded analytics dashboard for the Vector Institute, deployable via Google Cloud Run and protected by Google OAuth restricted to institutional accounts.Deployment and Infrastructure
.github/workflows/deploy-catalog-analytics.ymlto automate building and deploying thecatalog-analyticsservice to Google Cloud Run, including Docker image creation, Artifact Registry setup, deployment, verification, and summary output.catalog-analytics/Dockerfileand supporting files (.dockerignore,.gitignore,.env.example) to enable containerized Next.js builds and secure environment management for production deployment. [1] [2] [3] [4]Authentication and Security
/api/auth/login,/api/auth/callback,/api/auth/logout,/api/auth/session) with PKCE flow, domain restriction tovectorinstitute.ai, secure session management, and error handling. [1] [2] [3] [4]Frontend and Branding
globals.cssfor Vector Institute branding, light/dark theme support, and reusable card/gradient components.app/login/page.tsx) with Google sign-in, institutional access note, and responsive design.Pre-commit and Workflow Updates
[Copilot is generating a summary...]