A modern financial dashboard built with React, TypeScript, and Vite, featuring AI-powered transaction categorization and insights.
- 🚀 Modern UI: Built with shadcn/ui and Tailwind CSS
- 🤖 AI-Powered: Automatic transaction categorization using OpenAI
- 📊 Financial Insights: Smart spending analysis and recommendations
- 🔐 Secure Authentication: Powered by Appwrite
- 📱 Responsive Design: Works on all devices
- ⚡ Fast Performance: Built with Vite for optimal speed
- Frontend: React 18 + TypeScript + Vite
- UI: shadcn/ui + Tailwind CSS
- Backend: Appwrite (Authentication, Database, Storage)
- AI: OpenAI API for transaction categorization
- Forms: React Hook Form + Zod validation
- Animations: Framer Motion
git clone https://github.com/your-username/finboard.git
cd finboardnpm installCopy the environment template and fill in your values:
cp env.example .envEdit .env with your actual values:
# Appwrite Configuration
VITE_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
VITE_APPWRITE_PROJECT_ID=your-project-id-here
# Database Configuration
VITE_APPWRITE_DATABASE_ID=finboard-db
VITE_APPWRITE_COLLECTION_USERS=users
VITE_APPWRITE_COLLECTION_TRANSACTIONS=transactions
# OpenAI Configuration (Optional)
VITE_OPENAI_API_KEY=your-openai-api-key-hereFollow the detailed setup guide: APPWRITE_SETUP_GUIDE.md
npm run devVisit http://localhost:5173 to see the app.
| Variable | Description | Required |
|---|---|---|
VITE_APPWRITE_ENDPOINT |
Appwrite API endpoint | Yes |
VITE_APPWRITE_PROJECT_ID |
Your Appwrite project ID | Yes |
VITE_APPWRITE_DATABASE_ID |
Database ID for storing data | Yes |
VITE_APPWRITE_COLLECTION_USERS |
Users collection ID | Yes |
VITE_APPWRITE_COLLECTION_TRANSACTIONS |
Transactions collection ID | Yes |
VITE_OPENAI_API_KEY |
OpenAI API key for AI features | No |
See DEPLOYMENT.md for deployment instructions.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE for details.
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default tseslint.config([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default tseslint.config([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])