Skip to content

Golf app to calculate a users handicap index based off multiple rounds

License

Notifications You must be signed in to change notification settings

Kennyfergy/Golf-Handi-Calc

Repository files navigation

Golf Handi-Calc

Duration: 2 week sprint

Introducing the WHS Golf Calculator. Golf Handi-Calc revolutionizes your golfing experience by effortlessly managing your scorecards and seamlessly calculating your handicap index and updating local course handicaps specifically for you, using the World Handicap System. Picture this: You complete a round, input your score, and voilà your handicap index is auto-calculated and saved.

Why did I make this?

When 5 friends and I started golfing in 2022, we had no idea what a handicap index was. One day a gentleman asked us what our handicap was so we said “no idea but we should probably figure that out”. Fast forward a year later, we still didn’t have our handicap index because looking into it, it looked like a lot of work and a lot of calculations.

Solution

My solution was to create an app that a user can input their scores, and after scores are inputted it will calculate the handicap index. Going by the World Handicap System regulations, a user can use the best 8 rounds out of the last 20, to calculate their handicap. If a new round played is better than any of the current rounds being used to calculate, it will automatically update their handicap index. The app will display a users course handicap for every course they have added.

Screenshots

  • This is the login page

Login Page

  • The home page gives quick data and buttons to add a round or add a course

Home Page

  • The courses page shows all courses added by user and admin. The user added courses can be edited and deleted

Courses Page

  • Example of editing a course

Edit a course

  • The rounds page shows every round a user has added. They can be edited or deleted

Rounds Page

  • Adding a round example

Adding a round

  • Editing a round example

Editing a round

  • The about page explains using the app and how the calculations work

About Page

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Installation

  • Create a PostgreSQL database named golf_handi_calc
  • Use the database.sql file to create table
  • Open the project in code editor of your choice and run npm install in the terminal
  • Run npm run server in the terminal
  • Open another terminal and run npm run client in the terminal

Built With

GitHub top language

Authors

License

GitHub

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Releases

No releases published

Packages

No packages published