npm run dev
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
Please set up OPENAI_API_KEY
in your environment .env
:
VITE_OPENAI_API_KEY='Your API Key'
Add .env
in .gitignore
if you don't want to share your API key.
VITE_SERVER='Backend Server URL'
Main pages are saved in src/pages