This is a web application developed for Secured Approach that provides GRC Matrix Recommendations via filters, gap analysis, and a RAG Chatbot. This is a Next.js app router project, so routes on the website are based on the folder structure within the app folder. Folders that contain a page.tsx will generate a route based on folder name to that page.tsx file. To look at code for a specific page, such as a chatbot page, navigate to /app/dashboard/chatbot to see the relevant code.
The website is currently deployed or here: https://grccompass.vercel.app
To run the local development server:
- You'll first need to create a .env.local file in the root directory and copy/paste the keys found in the account credentials Google Doc.
- Or you can generate new keys for the Supabase / AI key.
- NOTE: If new keys are generated, you need to update them on the Vercel deployment. Log in to Vercel with grccompass github account to do so.
- It should look like this, but keys will be set to these env variables:
# Public URL / KEY
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
# Direct connection URL
DATABASE_URL=
GOOGLE_GENERATIVE_AI_API_KEY=
GOOGLE_PROJECT_ID=
GOOGLE_GEMINI_MODEL=- Once you have the .env.local file in the root directory, you can run the server like so:
npm install
npm run devOpen http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- Check out Next.js deployment documentation for more details.
This is a Next.js project bootstrapped with create-next-app.