A modern template management platform with AI-powered features, built with React and Supabase.
- Template Management: Create, browse, and manage code templates with categories and search
- AI Grammar Enhancer: Improve text quality with AI-powered grammar enhancement
- AI Chat Assistant: Interactive AI chat for coding help and questions
- User Authentication: Secure login and signup with user profiles
- Real-time Features: Online user tracking and live updates
- Responsive Design: Mobile-first design with DaisyUI components
- Dark/Light Themes: Theme switching with persistent preferences
- Frontend: React 19, Vite, TypeScript
- Styling: Tailwind CSS, DaisyUI
- Backend: Supabase (Database, Auth, Real-time)
- State Management: Zustand, TanStack Query
- Routing: React Router v7
- Animation: Framer Motion
- Icons: Lucide React
- Notifications: React Hot Toast
-
Clone the repository
git clone <repository-url> cd astvault-yowjprojects
-
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env
Edit
.envand add your Supabase credentials:VITE_SUPABASE_URL="your supabase url" VITE_SUPABASE_ANON_KEY="your supabase anon key"
-
Start the development server
npm run dev
src/
├── components/ # Reusable UI components
│ ├── auth/ # Authentication components
│ ├── templates/ # Template management components
│ └── ui/ # General UI components
├── hooks/ # Custom React hooks
├── pages/ # Route components
├── services/ # API and external services
└── store/ # State management
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
- Create a new Supabase project
- Set up the required database tables for templates and user management
- Configure authentication providers as needed
- Update environment variables with your project credentials
The project is configured for Vercel deployment with SPA routing:
{
"rewrites": [
{ "source": "/(.*)", "destination": "/" }
]
}- Create and organize code templates by category
- Search templates by title or description
- Pagination for large template collections
- Real-time updates across users
- Grammar enhancement for improving text quality
- Interactive AI chat for coding assistance
- Edge functions for optimal performance
- Responsive design for all device sizes
- Theme switching with persistent preferences
- Loading states and error handling
- Toast notifications for user feedback
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License.