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 YumYeild
cd Backend
2️⃣ Install required packages:
pip install uvicorn
pip install python-dotenv
pip install fastapi
pip install fastapi
pip install pydantic uvicorn
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
NOW 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