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
Install Latest Node JS LTS
Node JS Official Site: https://nodejs.org/en
Install NPM Dependencies
# run in root folder of cloned project
npm install
Build React Application
npm run build
Run Application
npm run dev
Install Docker For Host Operating System
Docker Official Site : https://www.docker.com/get-started/
Building Docker Image
# Build docker image in root folder of cloned project
docker build -t movie .
Run Docker Container
docker run -d -p 5173:5173 --name movie movie
Check application in web browser
localhost:5173
Run Cleanup Container When Finished (Shell)
./deploy/docker-cleanup.sh