This a react app.
Supabase backend.
The database structure and table names are in database_structure.json
Project goal is a slack clone with Zen-desk style features.
You have the power and information to create new files. If you can imagine the path, you're probably right, so believe in yourself and go ahead and create the file.
Since this is a TypeScript project, should use tsx and replace jsx
There is an environment file with keys, even if you can't see it.
When using TypeScript with React, always include the React import in files that use JSX/TSX syntax or React types: `import React from 'react'`
When solving bugs, append a line to .github/copilot-instructions.md which contains prompt information so the bug is pre-empted next time. In other words, you are free to add to your own context.
When using Supabase authentication methods, ensure return types match Supabase's actual return types. For example, signOut returns Promise<{ error: AuthError | null }> not Promise<void>.
## Routing Setup
- Ensure React Router is properly configured in App.tsx
- All route components should be placed in the src/pages directory
- The root route ("/") should always render the Home component
css
golang
html
javascript
react
supabase
typescript
First Time Repository
TypeScript
Languages:
CSS: 16.8KB
HTML: 0.4KB
JavaScript: 1.1KB
TypeScript: 83.8KB
Created: 1/17/2025
Updated: 1/20/2025