https://drive.google.com/file/d/13bG1BSo14PvujiGe1e02_KZDfCr6v7ca/view?usp=sharing
https://drive.google.com/file/d/1ZfRzgakVMZzKpksN5vZsb9RbUvh8uZ7s/view?usp=sharing
This guide will help you run Focus Flux on your local machine using VS Code.
- Node.js (v18 or higher recommended)
- npm (comes with Node.js)
- VS Code
You can export this project from AI Studio Build:
- Open the Settings menu (gear icon) in the AI Studio Build UI.
- Select Export to GitHub or Download ZIP.
- If you downloaded a ZIP, extract it and open the folder in VS Code.
- If you exported to GitHub, clone the repository and open it in VS Code.
Open the VS Code terminal (Ctrl + `) and run:
npm install- Create a new file named
.envin the root directory. - Copy the contents from
.env.exampleinto.env. - Add your Gemini API Key:
- You can get one from Google AI Studio.
- Set
GEMINI_API_KEY=your_api_key_herein the.envfile.
This project is a full-stack application using Express and Vite. To start it, run:
npm run devThe application will be available at http://localhost:3000.
src/: Frontend source code (React + Tailwind CSS).server.ts: Backend Express server.firebase.ts: Firebase configuration and initialization.firestore.rules: Security rules for your Firestore database.
If you want to use your own Firebase project locally:
- Create a project in the Firebase Console.
- Enable Firestore and Google Authentication.
- Update
firebase-applet-config.jsonwith your project's credentials.