This project does not work but I wanted to submit anyways. It was nice to participate though. Thank you!
Built for Pioneers AI Lab Hackathon
- Simulates commute delays.
- Uses Mistral AI to suggest optimized routes.
- Explains time and COβ savings.
- Mistral: AI route optimization.
- N8n: Autonomous workflow.
- Lovable: Front.
| Criterion | How We Hit It |
|---|---|
| Execution | Working demo with delay simulation. |
| AI & Agents | Mistral + N8n automation. |
| Scalability | Serverless, minimal ops. |
| Problem & Impact | Saves time + COβ. |
| Demo & Narrative | Clear story, polished UI. |
| Partner Tech | Mistral, N8n, Figma. |
- Node.js (v18 or higher)
- npm or yarn
- N8n installed globally
- Mistral API key
-
Clone the repository:
git clone <repository-url> cd bounce-hackathon/bounce
-
Install dependencies:
npm install
-
Set up N8n workflow:
- Follow the instructions in
N8N_SETUP.md - Import the workflow from
n8n-workflow.json - Configure your Mistral API key
- Follow the instructions in
-
Start the development server:
npm run dev
-
Start N8n (in a separate terminal):
n8n start
-
Open your browser and navigate to the URL shown in the terminal (typically
http://localhost:5173)
bounce/
βββ src/
β βββ App.jsx # Main application component
β βββ index.css # Tailwind CSS directives
β βββ main.jsx # Application entry point
βββ n8n-workflow.json # N8n workflow configuration
βββ N8N_SETUP.md # N8n setup instructions
βββ ENV_SETUP.md # Environment variables guide
βββ README.md # This file
Create a .env file in the bounce directory (optional):
VITE_N8N_WEBHOOK_URL=http://localhost:5678/webhook/delayIf not set, the app defaults to http://localhost:5678/webhook/delay.
Configure your Mistral API key in the N8n workflow:
- Open the "Call Mistral API" node
- Update the Authorization header with your API key
- Get your key from https://console.mistral.ai/
- User selects origin and destination
- User clicks "Simulate Delay" button
- Frontend sends request to N8n webhook
- N8n workflow calls Mistral AI API
- Mistral analyzes the delay and suggests an optimized route
- Response is returned to frontend and displayed
This project was built for the Pioneers AI Lab Hackathon.