Skip to content

Commit 1e7b41b

Browse files
committed
feat: Set up Firebase authentication and update project structure
1 parent 0c6b8b0 commit 1e7b41b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4260
-2002
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
tab_width = 4
6+
indent_size = 4
7+
end_of_line = lf
8+
max_line_length = 120
9+
ij_visual_guides = 120
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.{js,py,html}]
14+
charset = utf-8
15+
16+
[*.md]
17+
trim_trailing_whitespace = false

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
OLLAMA_API_KEY="ollama"

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,28 @@ app.*.map.json
5050
.dart_tool
5151

5252
ios/firebase_app_id_file.json
53+
54+
# Logs
55+
logs
56+
npm-debug.log*
57+
yarn-debug.log*
58+
yarn-error.log*
59+
dev-debug.log
60+
# Dependency directories
61+
node_modules/
62+
# Environment variables
63+
.env
64+
# Editor directories and files
65+
.vscode
66+
*.suo
67+
*.ntvs*
68+
*.njsproj
69+
*.sln
70+
*.sw?
71+
# OS specific
72+
73+
# Task files
74+
# tasks.json
75+
# tasks/
76+
77+
.gemini

.kiro/settings/mcp.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"mcpServers": {
3+
"task-master-ai": {
4+
"command": "npx",
5+
"args": ["-y", "--package=task-master-ai", "task-master-ai"],
6+
"env": {
7+
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
8+
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
9+
"OPENAI_API_KEY": "YOUR_OPENAI_KEY_HERE",
10+
"GOOGLE_API_KEY": "YOUR_GOOGLE_KEY_HERE",
11+
"XAI_API_KEY": "YOUR_XAI_KEY_HERE",
12+
"OPENROUTER_API_KEY": "YOUR_OPENROUTER_KEY_HERE",
13+
"MISTRAL_API_KEY": "YOUR_MISTRAL_KEY_HERE",
14+
"AZURE_OPENAI_API_KEY": "YOUR_AZURE_KEY_HERE",
15+
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY_HERE"
16+
}
17+
}
18+
}
19+
}

.kiro/steering/dev_workflow.md

Lines changed: 424 additions & 0 deletions
Large diffs are not rendered by default.

.kiro/steering/kiro_rules.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
description: Guidelines for creating and maintaining Kiro rules to ensure consistency and effectiveness.
3+
globs: .kiro/steering/*.md
4+
alwaysApply: true
5+
---
6+
7+
- **Required Rule Structure:**
8+
```markdown
9+
---
10+
description: Clear, one-line description of what the rule enforces
11+
globs: path/to/files/*.ext, other/path/**/*
12+
alwaysApply: boolean
13+
---
14+
15+
- **Main Points in Bold**
16+
- Sub-points with details
17+
- Examples and explanations
18+
```
19+
20+
- **File References:**
21+
- Use `[filename](mdc:path/to/file)` ([filename](mdc:filename)) to reference files
22+
- Example: [prisma.md](.kiro/steering/prisma.md) for rule references
23+
- Example: [schema.prisma](mdc:prisma/schema.prisma) for code references
24+
25+
- **Code Examples:**
26+
- Use language-specific code blocks
27+
```typescript
28+
// ✅ DO: Show good examples
29+
const goodExample = true;
30+
31+
// ❌ DON'T: Show anti-patterns
32+
const badExample = false;
33+
```
34+
35+
- **Rule Content Guidelines:**
36+
- Start with high-level overview
37+
- Include specific, actionable requirements
38+
- Show examples of correct implementation
39+
- Reference existing code when possible
40+
- Keep rules DRY by referencing other rules
41+
42+
- **Rule Maintenance:**
43+
- Update rules when new patterns emerge
44+
- Add examples from actual codebase
45+
- Remove outdated patterns
46+
- Cross-reference related rules
47+
48+
- **Best Practices:**
49+
- Use bullet points for clarity
50+
- Keep descriptions concise
51+
- Include both DO and DON'T examples
52+
- Reference actual code over theoretical examples
53+
- Use consistent formatting across rules

.kiro/steering/self_improve.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
description: Guidelines for continuously improving Kiro rules based on emerging code patterns and best practices.
3+
globs: **/*
4+
alwaysApply: true
5+
---
6+
7+
- **Rule Improvement Triggers:**
8+
- New code patterns not covered by existing rules
9+
- Repeated similar implementations across files
10+
- Common error patterns that could be prevented
11+
- New libraries or tools being used consistently
12+
- Emerging best practices in the codebase
13+
14+
- **Analysis Process:**
15+
- Compare new code with existing rules
16+
- Identify patterns that should be standardized
17+
- Look for references to external documentation
18+
- Check for consistent error handling patterns
19+
- Monitor test patterns and coverage
20+
21+
- **Rule Updates:**
22+
- **Add New Rules When:**
23+
- A new technology/pattern is used in 3+ files
24+
- Common bugs could be prevented by a rule
25+
- Code reviews repeatedly mention the same feedback
26+
- New security or performance patterns emerge
27+
28+
- **Modify Existing Rules When:**
29+
- Better examples exist in the codebase
30+
- Additional edge cases are discovered
31+
- Related rules have been updated
32+
- Implementation details have changed
33+
34+
- **Example Pattern Recognition:**
35+
```typescript
36+
// If you see repeated patterns like:
37+
const data = await prisma.user.findMany({
38+
select: { id: true, email: true },
39+
where: { status: 'ACTIVE' }
40+
});
41+
42+
// Consider adding to [prisma.md](.kiro/steering/prisma.md):
43+
// - Standard select fields
44+
// - Common where conditions
45+
// - Performance optimization patterns
46+
```
47+
48+
- **Rule Quality Checks:**
49+
- Rules should be actionable and specific
50+
- Examples should come from actual code
51+
- References should be up to date
52+
- Patterns should be consistently enforced
53+
54+
- **Continuous Improvement:**
55+
- Monitor code review comments
56+
- Track common development questions
57+
- Update rules after major refactors
58+
- Add links to relevant documentation
59+
- Cross-reference related rules
60+
61+
- **Rule Deprecation:**
62+
- Mark outdated patterns as deprecated
63+
- Remove rules that no longer apply
64+
- Update references to deprecated rules
65+
- Document migration paths for old patterns
66+
67+
- **Documentation Updates:**
68+
- Keep examples synchronized with code
69+
- Update references to external docs
70+
- Maintain links between related rules
71+
- Document breaking changes
72+
Follow [kiro_rules.md](.kiro/steering/kiro_rules.md) for proper rule formatting and structure.

0 commit comments

Comments
 (0)