Skip to content
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.

SSWConsulting/enterprise-musicstore-api-aspnet

Repository files navigation

angularmusicstore

The MVC Music Store API

Introduction Video

https://www.youtube.com/watch?v=OzqnTM4xXPs&feature=youtu.be

How to start

Set up Visual Studio 2015

  1. Get Visual Studio 2015
  2. Install ASP.NET 5 for windows

Clone the repository, restore dependencies and build.

Open powershell or cmd and execute the following:

git clone https://github.com/SSWConsulting/musicstore-api-aspnet5
cd musicstore-api-aspnet5
dnu restore
cd src/SSW.MusicStore.API
dnu build

Configurations

Music Store API uses few third party tools, namely:

  1. Seq - used for structured logging throughout the application.
  2. Raygun - used for app performance and error tracking
  3. ApplicationInsights - used for app performance monitoring
  4. Auth0 - used for user authentication

In order to run API you need to create configuration file for all these tools. In Solution Explorer go to SSW.MusicStore.API project and add new privatesettings.json file and paste the following:

{
  "Seq": {
    "Url": "http://log.ssw.com:5341",
    "Key": "dev"
  },
  "Auth0": {
    "ClientId": "dev",
    "Domain": "ssw.auth0.com"
  },
  "RaygunSettings": {
    "ApiKey": "dev"
  },
  "ApplicationInsights": {
    "InstrumentationKey": "dev"
  }
}

This will ensure that API can run. As you can see all keys have been set as dev. If you are already using any of the third party tools listed above, then just populate correct settings. Otherwise, you can either leave it as it is or register using trial accounts (all of these tools give you a trial option).

About

The MVC Music Store backend - built ASP.Net 5 and WebAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published