dsjlee / MarketNews

Blazor WebAssembly progressive web application using FinnHub news api

Home Page:https://marketnews.gear.host

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MarketNews

Blazor WebAssembly progressive web application using FinnHub news api

Demo of running application: https://marketnews.gear.host

Instruction

Sign up to get API key from https://finnhub.io

In Startup.cs of WasmServer.Server project, replace Configuration["FinnHub:ApiKey"] with your own API key.

public Startup(IConfiguration configuration)
{
    Configuration = configuration;
    Helper.FinnHubApiKey = Configuration["FinnHub:ApiKey"];
}

Alternatively, enable user-secrets for WasmServer.Server project and add key-value pair. (This will avoid committing secret-key to git repository).

"FinnHub": {
    "ApiKey": "yourownapikey"
}

For deployment, you'll need to arrange how to replace api key. e.g. Use Key-vaults service if deploying to Azure.

About

Blazor WebAssembly progressive web application using FinnHub news api

https://marketnews.gear.host

License:MIT License


Languages

Language:C# 41.2%Language:HTML 31.5%Language:CSS 15.7%Language:JavaScript 11.6%