This project is a web application that provides a chat interface along with user management features. It allows users to log in, sign up, manage their profiles, and subscribe to various plans. The application is built using React and TypeScript, and it integrates with Supabase for backend services.
- Login Page: Users can log in to their accounts using their credentials.
- Signup Page: New users can create an account by filling out a registration form.
- User Profile Page: Users can view and update their profile information.
- Admin Page: Admin users can manage users and subscriptions.
- Subscription Page: Users can view and manage their subscription plans.
- Chat Page: A chat interface that supports:
- Uploading CSV files
- Uploading files for knowledge base
- Connecting to the database
- React
- TypeScript
- Supabase
- CSS
-
Clone the repository:
git clone <repository-url> -
Navigate to the project directory:
cd my-app -
Install the dependencies:
npm install -
Set up your Supabase project and configure the client in
src/supabase/client.ts. -
Start the development server:
npm start
my-app
├── src
│ ├── components
│ │ ├── AdminPage.tsx
│ │ ├── ChatPage.tsx
│ │ ├── LoginPage.tsx
│ │ ├── SignupPage.tsx
│ │ ├── SubscriptionPage.tsx
│ │ └── UserProfilePage.tsx
│ ├── supabase
│ │ └── client.ts
│ ├── utils
│ │ └── db.ts
│ ├── App.tsx
│ └── index.tsx
├── package.json
├── tsconfig.json
└── README.md
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License.