A modern, reactive frontend for Large Language Model (LLM) Retrieval Augmented Generation (RAG) applications. Built with cutting-edge web technologies and designed for performance, accessibility, and developer experience.
- Server Components Architecture - Leveraging React 19 and Next.js 15 server components for optimal performance
- Advanced UI Components - Built with Radix UI primitives and Tailwind CSS for a beautiful, accessible interface
- TypeScript - Fully typed codebase for improved developer experience and code quality
- Optimized Build Pipeline - Efficient build process with Next.js optimizations
- Comprehensive Testing - Automated tests ensure reliability and stability
- CI/CD Integration - Automated deployment pipeline with GitHub Actions
- Framework: Next.js 15
- UI Library: React 19
- Styling: Tailwind CSS
- Component Library: Radix UI primitives with shadcn/ui
- State Management: React Hooks with Server Actions
- Package Manager: pnpm
- Deployment: Vercel
- CI/CD: GitHub Actions
- Node.js 20+
- pnpm 8+
-
Clone the repository:
git clone https://github.com/yourusername/LLM_RAG_Frontend.git cd LLM_RAG_Frontend -
Install dependencies:
pnpm install
-
Set up pre-commit hooks:
chmod +x scripts/setup-hooks.sh ./scripts/setup-hooks.sh
-
Start the development server:
pnpm dev
-
Open http://localhost:3000 in your browser to see the result.
pnpm dev- Start development serverpnpm build- Build for productionpnpm start- Start production serverpnpm lint- Lint codepnpm format- Format code with Prettier
Run the test suite with:
pnpm testThis project uses:
- ESLint for code linting
- Prettier for code formatting
- TypeScript for type checking
- Pre-commit hooks to ensure code quality
The CI/CD pipeline:
- Installs dependencies
- Runs linters and type checking
- Executes tests
- Builds the application
- Deploys to Vercel (production branch only)
- Fork the repository
- Create your 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
Please ensure all tests pass and code meets the project's style guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
