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
To run -> npm run dev
{} used for object
for running json: npx json-server --watch data/db.json --port 8000 //This will make it run on port 8000