URL: https://lovable.dev/projects/c02ac9cd-325b-41bb-9a1b-ee8766efe98b
There are several ways of editing your application.
Use Lovable
Simply visit the Lovable Project and start prompting.
Changes made via Lovable will be committed automatically to this repo.
Use your preferred IDE
If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
The only requirement is having Node.js & npm installed - install with nvm
Follow these steps:
# Step 1: Clone the repository using the project's Git URL.
git clone <YOUR_GIT_URL>
# Step 2: Navigate to the project directory.
cd <YOUR_PROJECT_NAME>
# Step 3: Install the necessary dependencies.
npm i
# Step 4: Start the development server with auto-reloading and an instant preview.
npm run devEdit a file directly in GitHub
- Navigate to the desired file(s).
- Click the "Edit" button (pencil icon) at the top right of the file view.
- Make your changes and commit the changes.
Use GitHub Codespaces
- Navigate to the main page of your repository.
- Click on the "Code" button (green button) near the top right.
- Select the "Codespaces" tab.
- Click on "New codespace" to launch a new Codespace environment.
- Edit files directly within the Codespace and commit and push your changes once you're done.
To reduce API costs during development and testing, the application includes a mock data system for company searches.
-
Set the environment variable
VITE_USE_MOCK_DATAtotruein your.env.developmentfile:VITE_USE_MOCK_DATA=true -
The mock system will automatically be used when:
- The application is running in development mode (
import.meta.env.DEVis true) - The
VITE_USE_MOCK_DATAenvironment variable is set totrue
- The application is running in development mode (
The mock system includes pre-defined responses for the following companies:
- Apple
- Microsoft
- Tesla
For any other company name, a default mock response will be provided.
To test error handling, include the word "error" in the company name (e.g., "Error Corp"). This will simulate a failed API response.
You can add or modify mock company data by editing the src/mocks/companySearchMock.ts file.
This project integrates with external webhooks for various features like question generation, company research, and value proposition creation. For detailed information about webhook response formats and integration requirements, see:
📄 WEBHOOK_API_SPECIFICATION.md - Complete webhook API documentation
This project is built with .
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS
Simply open Lovable and click on Share -> Publish.
We don't support custom domains (yet). If you want to deploy your project under your own domain then we recommend using Netlify. Visit our docs for more details: Custom domains