Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,15 @@ GEMINI_API_KEY=""
OPENAI_API_KEY=""

# OpenRouter
OPENROUTER_API_KEY=""
OPENROUTER_API_KEY=""

# Cal.com
CALCOM_CLIENT_ID=""
CALCOM_CLIENT_SECRET=""
CALCOM_ORGANIZATION_ID=""

# Vercel
AI_GATEWAY_API_KEY=""

#HuggingFace
HUGGINGFACE_API_TOKEN=""
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Ignore type definitions
src/types/**/*
**/types/**/*
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
rules: {
'@typescript-eslint/no-unnecessary-condition': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
},
}
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/better-profile-dev-hack.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 65 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .kiro/hooks/integration-validator.kiro.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"enabled": true,
"name": "Integration Validator",
"description": "Monitors for new components and files being added to ensure they follow project conventions, are properly integrated with the tech stack, and are tested within the application scope",
"version": "1",
"when": {
"type": "fileEdited",
"patterns": [
"src/components/**/*.tsx",
"src/app/**/*.tsx",
"src/orpc/controllers/**/*.ts",
"src/db/models/**/*.ts",
"src/lib/**/*.ts",
"src/utils/**/*.ts",
"src/atoms/**/*.ts",
"src/services/**/*.ts"
]
},
"then": {
"type": "askAgent",
"prompt": "New files have been added to the project. Please review them to ensure they:\n\n1. Follow the project's naming conventions (kebab-case for files, PascalCase for components)\n2. Use the correct tech stack patterns (TanStack Form for forms, Mantine + Tailwind for UI, oRPC for API)\n3. Import from the correct paths using the ~/src alias\n4. Follow the component organization rules (_modules for local components, src/components for global)\n5. Use the custom spacing system and design tokens\n6. Are properly integrated with existing authentication, database, and state management\n7. Include proper TypeScript types without interfaces\n8. Are testable and follow the established patterns\n\nProvide specific feedback on any issues found and suggest corrections to ensure the integrated components work seamlessly within this Next.js application."
}
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
}
"kiroAgent.configureMCP": "Disabled"
}
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: betterprofile-dev

services:
postgres:
image: postgres
image: pgvector/pgvector
command: '-d 1'
ports:
- '5432:5432'
Expand All @@ -12,6 +12,7 @@ services:
POSTGRES_DB: betterprofile
volumes:
- postgres-data:/var/lib/postgresql/data
- ./scripts/init.sql:/docker-entrypoint-initdb.d/init.sql

volumes:
postgres-data: {}
12 changes: 12 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export default [
{
files: ['**/*.ts', '**/*.tsx'],
plugins: {
'@typescript-eslint': require('@typescript-eslint/eslint-plugin')
},
rules: {
'@typescript-eslint/no-unnecessary-condition': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn'
}
}
];
Loading