Skip to content

sswane/golf-vite

Repository files navigation

React + TypeScript + Vite

Play golf games with friends and handicaps.

Created via npm create vite@latest golf-vite -- --template react-ts

Project still includes some css files from the starter - should be revisited later.

Getting Started

Ensure you have the latest version of npm and node installed. Then, install dependencies:

npm install

And run the app locally:

npm run dev

Alternatively, you can run directly using vite by doing:

npm install -g vite
vite

Deployment

https://golf-yc.web.app - deployed via Firebase using GitHub Actions.

Current App

Currently the app has hardcoded values for 4 players and 1 course. This is what the site currently looks like when running:

original

After clicking the "Begin" button, a list of holes will appear:

show-holes

Clicking on a hole will show specific info for that hole. It takes in user input & automatically calculates the net score for each player.

edit-hole

About

Vite, React, Typescript app to easily calculate scores with handicaps during golf games.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages