OT-Hub / OTHub

OT Hub is a community-made project for live insights into the OriginTrail Decentralized Network.
https://othub.origin-trail.network/
MIT License
5 stars 2 forks source link

Improve Onboarding Experience - Settings Refactor #33

Closed lukeskinner closed 3 years ago

lukeskinner commented 4 years ago

Currently all settings are using .NET core user secrets which was a quick way to get something working on all platforms with built in Visual Studio edit support - https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-3.1&tabs=linux.

We should move the secret settings into the database in a new configuration table. This can be loaded on start up to keep the logic roughly the same.

The SQL connection string for MariaDB will need to be saved somewhere where the process can read it. Look into best options across all platforms (Windows/Mac/Linux).

lukeskinner commented 3 years ago

A lot of this work has already happened so I'm going to close this for now.

There is a new blockchains table which has 90% of the settings that used to live in the user secrets.