Code2Gether-Discord / subtrack

A simplistic subscription tracker made with Blazor MAUI
9 stars 0 forks source link
blazor-hybrid blazor-maui csharp entity-framework-core sqlite subscription-manager subscription-tracker

subtrack - A simplistic subscription tracker

Keep track of what subscriptions you have, when they have to be paid and how much you are paying.

Development Info

Running the project

The project itself currently does not require any configuration at all. On startup data is seeded to a locally stored sqlite database.

Before preceding make sure you have installed ".NET Multi-platform App UI development" in the visual studio installer. Also ensure you have a >=.NET 7 SDK installed dotnet --list-sdks.

  1. To begin with we only have a mobile app and we focus on making the design and functionality work for Android. You do not need an android phone to actually run the project but you do need to enable Hyper-V on your PC https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration?pivots=windows. You also need to enable developer mode on your PC https://www.c-sharpcorner.com/blogs/dep0100-please-ensure-that-target-device-has-developer-mode-enabled.
  2. After enabling Hyper-V you can run the project with the Android emulator (built in to VS) - I am using a Pixel 5 - API 33 (Android 13.0) since that was default. You can add the device by opening the Android Device Manager inside VS

Note that you can run the project without the android emulator as long as you won't be making any UI changes, alternatively tell someone else to verify the UI looks ok

Github Workflow

  1. Clone the project and checkout the dev branch.
  2. Assign yourself to an issue and create a new branch from dev with this format if the parent issue has been labeled with "feature": $"feature/{InsertTitleOfIssue}"
  3. Make some changes, commit the changes then push them to github
  4. Open up a Pull request from the branch with the changes to the dev branch
  5. Wait for other developers feedback. When the Pull request has been approved click squash merge and delete the branch afterwards

Github Issues

Creating database migrations

After making changes to any entity you need to add a migration and update the database

  1. Open up the Package manager console found in View->Other Windows
  2. Change the "Default Project:" to "subtrack.DAL"
  3. Enter this command in the console add-migration {insertMigrationName} -StartupProject subtrack.DAL
  4. Make sure the generated files are as expected. If you wish to undo the migration write remove-migration -StartupProject subtrack.DAL
  5. Enter this command in the console update-database -StartupProject subtrack.DAL

Design

Creating a Release

Roadmap 2023

Roadmap 2023