This is a simple web application that allows users to enter golf rounds and calculate their golf handicap.
- Users can enter golf rounds including course details, scores, course rating, and slope rating.
- Golf handicap is calculated once a minimum of five rounds have been entered.
- The calculated golf handicap is displayed at the bottom of the page.
- Node.js and npm should be installed on your machine.
- Navigate to the
server
(backend) directory:
cd server
- Install dependencies:
npm install
- Start the server:
npm start
The backend server will start running on http://localhost:5000.
- Navigate to the
client
(frontend) directory:
cd client
- Install dependencies:
npm install
- Start the development server:
npm start
The React app will be available at http://localhost:3000.
- Open your browser and visit http://localhost:3000 to access the React app.
- Enter golf round details including course information, scores, etc.
- Once a minimum of five rounds have been entered, the golf handicap will be calculated and displayed at the bottom of the page.