Skip to content

HockeyPickup.App is the primary frontend for the Hockey Pickup platform

License

Notifications You must be signed in to change notification settings

HockeyPickup/HockeyPickup.App

Repository files navigation

🏒 HockeyPickup.App

Logo

Azure Static Web Apps CI/CD CodeQL

🌈 Overview

HockeyPickup.App is the primary frontend for Hockey Pickup.

The main technology stack platform is React and the visual element framework is Mantine.

🛠 Prerequisites

⌨️ Install, Build, and Serve the Site

Install all the front-end packages:

$ yarn install

Serve up the instance of the app locally, using Vite.

$ yarn dev

Vite Output

Vite expects the local HockeyPickup.Api to be listening on port 7042. See vite.config.mjs.

🎛️ Updating data models from the Api

HockeyPickup.App uses very strict static typing, and data models referenced are generated from the Api using the OpenApi standard. To update the data models from the latest Api, simply run the refresh-api command to the Production or Local instance of the Api. This will update the HockeyPickup.Api.ts file.

yarn refresh-api:prod
yarn refresh-api:local

🌐 Updating packages

HockeyPickup.App has external dependencies. Many of them are frequently updated for security and performance fixes and improvements. Sometimes there are regressions and our test suite is designed to catch them.

Run the updater:

$ yarn update-packages

$ yarn install

Test and ensure the app is working properly before committing and pushing.

🎁 Versioning

HockeyPickup.App uses sementic versioning, starting with 1.0.0.

The patch (last segment of the 3 segments) is auto-incremented via a GitHub action when a pull request is merged to master. The GitHub action is configured in .github/workflows/azure-static-web-app.yml. To update the major or minor version, follow the instructions specified in the bumping section of the action - use #major or #minor in the commit message to auto-increment the version.

❤️ Contributing

We welcome useful contributions. Please read our contributing guidelines before submitting a pull request.

📜 License

HockeyPickup.App is licensed under the MIT license.

License

hockeypickup.com

About

HockeyPickup.App is the primary frontend for the Hockey Pickup platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published