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
- Open the terminal and enter the command
npx json-server --watch src/api/db.json
first. It will fetch data from the json-server. - Then, run the command
npm run start
. Now you can use the movie-app.
This is an example React-Redux project by me. I didn't focus on CSS, so it might not look great, but I have learned a lot of React-related concepts with this project, such as Hooks, Redux, Axios, and more.