Skip to content

Karthisgowda/KS

Repository files navigation

Karthik S Gowda Portfolio

Professional portfolio site with a React frontend, Express backend, and server-side AI chat endpoint.

Chat Setup

The assistant reads AI provider keys only from server environment variables.

  1. Copy .env.example to .env for local development.
  2. Set GROQ_API_KEY to the active Groq key.
  3. Keep provider keys out of source control and public client code.

For production, configure the same variables in the deployment provider.

Rotating Groq Keys

When a Groq key changes, update the deployment environment instead of editing source files.

vercel env rm GROQ_API_KEY production --yes
vercel env add GROQ_API_KEY production
vercel --prod --yes

After deployment, test /api/chat with a professional portfolio question and confirm the response is generated successfully.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors