Golf World is a mini golf game built with React and Three.js using the @react-three/fiber
and @react-three/cannon
libraries for rendering 3D scenes and managing physics, respectively. This project also uses Material UI for user interface components.
Ensure that you have the following installed:
- Node.js (>= 14.x)
- npm (>= 7.x)
-
Clone the repository:
git clone https://github.com/Kharendwe2552975/golf-world.git cd golf-world
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
- dev: Starts the Vite development server.
- build: Builds the application for production.
- lint: Runs ESLint and automatically fixes linting issues.
- lamp-build: Builds the application for deployment with a base URL (useful for deploying to lamp).
- preview: Previews the production build using Vite.