❖ Install NodeJs ( Ignore If Already Installed)
-
Visit the official Node.js website i.e) https://nodejs.org/en/download/
-
Download the Node.js installer
-
Run the installer.
-
Follow the prompts in the installer.
❖ Steps To Run The Project
- Open Project Folder In VS Code
- Open Integrated Terminal ○ Right Click on Sidebar > Select “Open In Integrated Terminal”
- Type “npm install” and press Enter and Wait for Installation to be completed (requires Internet) After Installation You will See ‘node_modules’ Folder in the Sidebar
- Create Your API Key
- Open gemini.js file from src/config folder then paste the api key in that file
- After that type “npm run dev” in terminal
-
- Now Copy the Localhost link from terminal and open it in web-browser
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh