{"id":15163466,"url":"https://github.com/scottlaing/record-vital-stats","last_synced_at":"2026-02-03T12:37:08.624Z","repository":{"id":247240625,"uuid":"825337008","full_name":"ScottLaing/record-vital-stats","owner":"ScottLaing","description":"Application to record users vital statistics like blood sugar, blood pressure, etc.  C# windows .net core application with desktop front-end and web api back end.  The Front end is WPF, back end is web api, uses JWT for authentication.  Database support for postgres and sql server.","archived":false,"fork":false,"pushed_at":"2024-09-29T02:21:06.000Z","size":380,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T09:51:24.295Z","etag":null,"topics":["asp-net-core","csharp","dotnet-core","jwt","visual-studio","web-api","windows-desktop","wpf"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScottLaing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-07T13:58:06.000Z","updated_at":"2024-09-29T02:21:09.000Z","dependencies_parsed_at":"2024-07-20T04:03:41.063Z","dependency_job_id":"9600b46b-3ad7-463c-9155-622a48fa60a5","html_url":"https://github.com/ScottLaing/record-vital-stats","commit_stats":{"total_commits":37,"total_committers":1,"mean_commits":37.0,"dds":0.0,"last_synced_commit":"e080b08ec1039f794ed541e020e44dee48ade1c2"},"previous_names":["scottlaing/record-vital-stats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ScottLaing/record-vital-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottLaing%2Frecord-vital-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottLaing%2Frecord-vital-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottLaing%2Frecord-vital-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottLaing%2Frecord-vital-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScottLaing","download_url":"https://codeload.github.com/ScottLaing/record-vital-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScottLaing%2Frecord-vital-stats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264023550,"owners_count":23545688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asp-net-core","csharp","dotnet-core","jwt","visual-studio","web-api","windows-desktop","wpf"],"created_at":"2024-09-27T02:42:37.750Z","updated_at":"2026-02-03T12:37:08.590Z","avatar_url":"https://github.com/ScottLaing.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Record-Vital-Stats project\n\n## Project Description\n\nRecord-Vital-Stats project is a windows desktop project to consume a web api, to save and retrieve vital stats. Both WPF front end and web api back end projects are included in the solution. The project is written in C# and can use a SQL Server or Postgres database for the stats. The project is being developed in Visual Studio 2022.  Most projects are using .net core 6.0. Note: this is currently a windows application only, with a WPF front end. A later version may support Angular or a web front end also.\n\n## Table of Contents\n\n* [Project Description](#project-description)\n* [Features](#features)\n* [Installation and Setup](#installation)\n* [Environment strings](#env)\n* [Usage](#usage)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Project Description  \u003ca name=\"project-description\"\u003e\u003c/a\u003e\n\nThe project is a windows desktop project to consume a web api, to save and retrieve vital stats. Early version of the project, lots of mods ongoing.  \n\n## Features (not all-inclusive) \u003ca name=\"features\"\u003e\u003c/a\u003e\n\n* New User add/register window. (WPF)\n* Login window. (WPF) \n* Main window with menu.  (WPF)\n* Blood sugar entry window.  (WPF)\n* Blood sugar entries list window.  (WPF)\n* Blood pressure entry window.  (WPF)\n* Blood pressure entries list window.  (WPF)\n* Oxygen level entry window.  (WPF)\n* Oxygen level entries list window.  (WPF)\n* Notes entry page.  (WPF)\n* Notes list page.  (WPF)\n* Back end controllers for login and authentication. (asp.net, Web Api, .net core)\n* Back end controllers for new entries. (asp.net, Web Api, .net core)\n* Back end controllers getting previous entries lists. (asp.net, Web Api, .net core)\n* Back end database inserts and lookups, CRUD. (C# library)\n* Database tracking projects. (C# library)\n* Site authentication tracking logic using JWT token. (asp.net Web Api, .net core)\n* Profile window.  (WPF)\n* Logout functionality.  (WPF)\n\n\n## Installation and Setup  \u003ca name=\"installation\"\u003e\u003c/a\u003e\n\nDev Notes for installation and setup. \n\n* Using Visual Studio full version is recommended, currently Visual Studio 2022.\n* nuget libraries should self install during the build process.\n* Install sql server or postgres for your database, depending on preference. Can use LocalDb for development also.\n* Create a local database in SQL Server or Postgres.  See the database scripts in the Database project.\n\n## Usage  \u003ca name=\"usage\"\u003e\u003c/a\u003e\n\nFor local development you will need to:\n\n* Modify the properties in your visual studio solution to have these as your startup projects: **RecordMyStats** (wpf front end), **RecordMyStats.WebApi2** (backend web api).\n* With this solution setup you can just use the \"Start\" button in Visual Studio to run the project.\n\n\n## Environment Variables  \u003ca name=\"env\"\u003e\u003c/a\u003e\n\nYou will need to setup the following environment strings for development.  Add these from windows using Edit the system environment variables.  \n\n(You can add these to a file for tracking but they should not be committed to your branch.  Add such a file to .gitignore.)\n\n* **RMS_JWT_TokenPhrase** - create a long string for the unique token phrase.  This is used to create the JWT token.\n* **RMSAzureDBConnString** - connection string for the Azure SQL Server database.\n* **RMSAzureWebApiAddress** - the address of the web api on Azure.\n* **RMSLocalDbConnString** - connection string for the local SQL Server database.\n* **RMSLocalPostgresConnString** - connection string for the local Postgres database.\n* **RMSDefaultSalt** - 36 char salt string.\n* **RMSDefaultEncryptionKey** - 36 char encryption key string.\n\n## Contributing  \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\n* Contributions welcome.  Please fork the project and submit a pull request.\n\n## License  \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nMIT License\n\n## Contact\n\nIf you have any questions about this project, feel free to contact me at \u003ca href=\"mailto:scottlaing@gmail.com\"\u003escottlaing@gmail.com\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottlaing%2Frecord-vital-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottlaing%2Frecord-vital-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottlaing%2Frecord-vital-stats/lists"}