This project is a Return on Investment (ROI) Calculator powered by AI, built using Laravel with the TALL Stack (Tailwind CSS, Alpine.js, Laravel, Livewire). The system enables users to analyze potential business investments, generate ROI reports, and gain actionable insights based on AI-driven analysis.
- AI-powered ROI predictions: The system estimates return on investment based on user inputs.
- Speech-to-Text: Users can input data via voice commands.
- Multi-language support: The system automatically adapts to different languages.
- Dynamic scenario analysis: Users receive insights into best, worst, and expected outcomes.
- Intuitive UI: Built with TALL stack for a seamless user experience.
- Backend: Laravel
- Frontend: Tailwind CSS, Alpine.js, Livewire
- Database: MySQL
- AI Services: Microsoft Azure OpenAI, Speech-to-Text, and DeepSeek AI
Try the live demo: ROI Calculator
-
Clone the repository:
git clone https://github.com/your-repo/roi-calculator.git cd roi-calculator -
Install dependencies:
composer install npm install && npm run build -
Configure the environment variables by renaming
.env.exampleto.envand setting the following keys:AZURE_OPENAI_BASE_URL=<your_openai_base_url> AZURE_OPENAI_API_KEY=<your_openai_api_key> AZURE_SPEECH_TO_TEXT_ENDPOINT=<your_speech_to_text_endpoint> DEEP_SEEK_BASE_URL=<your_deep_seek_base_url> DEEP_SEEK_API_KEY=<your_deep_seek_api_key>
-
Generate application key:
php artisan key:generate
-
Run database migrations:
php artisan migrate --seed
-
Start the development server:
php artisan serve
- Register and log in to the application.
- Create a new business idea and input details via text or voice.
- Analyze ROI predictions and explore different scenarios.
- Adjust inputs and refine your business model.
Feel free to fork the repository, create a branch, and submit a pull request for improvements.
This project is licensed under the MIT License.