Skip to content

jakevanhalder/Pulse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pulse

Pulse is a C# ASP.NET Core MVC application developed to help users focus on important goals, tasks, and budgets in their upcoming week. This application uses Identity framework for Sign Up/Sign In functionalities, a local SQL Database to store user information, and canvas.js to display charts.

Table of Contents

Requirements

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/Pulse.git
    cd Pulse
  2. (Optional) You might not need to do this as when you build your application it gets invoked I think but if the Nuget packages don't work try:

dotnet restore

Configuration

  1. Add User Secrets:

    dotnet user-secrets init
  2. Set the secrets:

dotnet user-secrets set "SendGrid:SecretKey" "<YOUR_SENDGRID_API_KEY>"
dotnet user-secrets set "Authentication:Microsoft:ClientId" "<YOUR_MICROSOFT_CLIENT_ID>"
dotnet user-secrets set "Authentication:Microsoft:ClientSecret" "<YOUR_MICROSOFT_CLIENT_SECRET>"
dotnet user-secrets set "Authentication:Facebook:AppId" "<YOUR_FACEBOOK_APP_ID>"
dotnet user-secrets set "Authentication:Facebook:AppSecret" "<YOUR_FACEBOOK_APP_SECRET>"
  1. Update program.cs files DefaultConnection to your local SQL Server instances connection string

  2. Navigate to Chrome://flags/ #allow-insecure-localhost if you're using chrome to debug or edge://flags/#allow-insecure-localhost if you're on edge and enable these options

  3. Build the project with ctrl+f5. Some dialogs may pop up asking you if you trust ssl certificates. You can read through it, just make sure you press yes.

  4. (Optional) If you don't want to deal with the external login functionalities just comment out the following code in program.cs. As of right now you still need a sendgrid api key to access the content behind the login/register but I'll make a commit soon to fix that:

    builder.Services.AddAuthentication().AddFacebook(facebookOptions =>
    {
        facebookOptions.AppId = builder.Configuration["Authentication:Facebook:AppId"];
        facebookOptions.AppSecret = builder.Configuration["Authentication:Facebook:AppSecret"];
    }).AddMicrosoftAccount(microsoftOptions =>
    {
        microsoftOptions.ClientId = builder.Configuration["Authentication:Microsoft:ClientId"];
        microsoftOptions.ClientSecret = builder.Configuration["Authentication:Microsoft:ClientSecret"];
    });

License

This project uses the MIT license. Basically use it however you'd like :).

About

Pulse is a C# ASP.NET Core MVC application developed to help the user focus on important goals, tasks, and budgets in their upcoming week.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors