Landing page for the Quotation AI Generator
An AI-powered quotation management system built with Laravel and React. This application helps businesses generate professional quotations automatically using Google Gemini AI, manage clients, and export quotations as PDFs.
- AI-Powered Quotation Generation: Automatically generate professional quotations using Google Gemini API
- Client Management: Manage client information including company details, contact information, and registration numbers
- Quotation Requests: Create and manage quotation requests with problem statements and proposed solutions
- PDF Export: Generate and download quotations as professional PDF documents
- User Authentication: Secure user authentication and authorization system
- Dashboard: Overview of quotations, clients, and recent activities
- Settings Management: User profile, password, and appearance settings
- Service Types: Support for various service types including:
- Web Development
- Mobile Development
- Desktop Development
- AI Development
- Graphic Design
- Digital Marketing
- Other
- Laravel 12: PHP framework
- PHP 8.2+: Programming language
- SQLite: Database (can be configured for MySQL/PostgreSQL)
- DomPDF: PDF generation
- Google Gemini API: AI quotation generation
- React 19: UI library
- TypeScript: Type-safe JavaScript
- Inertia.js: Modern monolith approach
- Tailwind CSS 4: Utility-first CSS framework
- Radix UI: Accessible UI components
- Vite: Build tool and dev server
Before you begin, ensure you have the following installed:
- PHP 8.2 or higher
- Composer
- Node.js 18+ and npm
- SQLite (or MySQL/PostgreSQL)
- Google Gemini API Key
-
Clone the repository
git clone <repository-url> cd quotationAI
-
Install PHP dependencies
composer install
-
Install Node.js dependencies
npm install
-
Environment Configuration
cp .env.example .env php artisan key:generate
-
Configure Environment Variables Edit
.envfile and add your configuration:GEMINI_API_KEY=your_gemini_api_key_here DB_CONNECTION=sqlite DB_DATABASE=database/database.sqlite
-
Database Setup
touch database/database.sqlite php artisan migrate
-
Build Assets
npm run build
Run all services concurrently (server, queue, and Vite):
composer run devOr run services individually:
Start Laravel server:
php artisan serveStart Vite dev server:
npm run devStart queue worker:
php artisan queue:listen-
Build assets
npm run build
-
Optimize Laravel
php artisan config:cache php artisan route:cache php artisan view:cache
-
Start server
php artisan serve
Run tests using Pest:
composer testOr using PHPUnit directly:
php artisan testquotationAI/
βββ app/
β βββ Http/
β β βββ Controllers/ # Application controllers
β β βββ Middleware/ # HTTP middleware
β β βββ Requests/ # Form request validation
β βββ Models/ # Eloquent models
β βββ Providers/ # Service providers
βββ config/ # Configuration files
βββ database/
β βββ migrations/ # Database migrations
β βββ seeders/ # Database seeders
β βββ factories/ # Model factories
βββ public/ # Public assets
βββ resources/
β βββ js/
β β βββ components/ # React components
β β βββ layouts/ # Layout components
β β βββ pages/ # Inertia pages
β β βββ hooks/ # React hooks
β βββ css/ # Stylesheets
β βββ views/ # Blade templates
βββ routes/ # Route definitions
βββ storage/ # Storage directory
βββ tests/ # Test files
The system uses Google Gemini API to generate structured quotations based on:
- Client information
- Service type
- Problem statement
- Proposed solution
- Project dates (optional)
The AI generates:
- Project overview and scope descriptions
- Detailed service/item descriptions
- Suggested pricing for individual items
- Timeline estimates and milestone descriptions
- Technical requirements
- Deliverables descriptions
- Create quotation requests with problem and solution
- Generate AI-powered quotations automatically
- Edit and customize quotations
- View quotation details
- Export quotations as PDF
- Track quotation status
- Add and manage client information
- Store company details, contact information, and registration numbers
- Link clients to quotations and quotation requests
- View client history
Overview of quotations, clients, and recent activities
AI-powered quotation generation interface
Manage client information and company details
Detailed view of generated quotation
Professional PDF quotation document
- User authentication and authorization
- CSRF protection
- SQL injection protection (using Eloquent ORM)
- XSS protection
- Secure password hashing
- Environment variable configuration for sensitive data
This project is open-sourced software licensed under the MIT license.
Contributions are welcome! Please feel free to submit a Pull Request.
For support, please open an issue in the repository or contact the development team.
- Multi-tenant support
- Email notifications
- Quotation templates
- Advanced reporting and analytics
- Integration with payment gateways
- Mobile app
- API documentation