This project was created using the Redux Toolkit.
- React
- Redux Toolkit
- React Redux
- Axios
- Json Server
- Vite
src/- Source code foldersrc/features/- Feature foldersrc/features/products/- Product feature foldersrc/features/products/productSlice.js- Product reducersrc/features/products/ProductForm.jsx- Product form componentsrc/features/products/ProductListView.jsx- Product list componentsrc/App.jsx- Main application componentsrc/App.css- Main application stylesheetsrc/main.jsx- Main application entry pointvite.config.js- Vite configuration filepackage.json- Project dependencies and scriptsREADME.md- This file
- Clone the repository
- Install the dependencies using
npm install - Start the development server using
npm run dev - Open the application in a web browser at
http://localhost:3000 - Json-Server Run
npx json-server -p 3003 -w .\databash\db.json
npm run dev- Starts the development servernpm run build- Builds the application for productionnpm run preview- Starts a server to preview the production buildnpm run lint- Lints the code using ESLintnpm run test- Runs the unit tests using Jest
You can learn more about the technologies used in this project by visiting the following links: