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
If you are developing a production application, we recommend using TypeScript and enabling type-aware lint rules. Check out the TS template to integrate TypeScript and typescript-eslint in your project.
1️⃣ Required path
cd YumYeildcd Backend2️⃣ Install required packages:
pip install uvicornpip install python-dotenvpip install fastapipip install fastapipip install pydantic uvicornuvicorn main:app --host 0.0.0.0 --port 8000 --reloadNOW RUN THE FRONTEND
npm run dev👉 Add these to your PATH:
C:\Users\NIKHIL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts
C:\Users\NIKHIL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311