ASP.Net Core tracks microservice. Works with tracks, albums and playlists.
- 1.0 - actual
- Create appsettings.json in ./EichkustMusic.Tracks.API
{
"ConnectionStrings": {
"TracksDb": (postgresql connection string)
},
// Wasabi S3
"S3": {
"AccessKey": ...,
"SecretKey": ...,
"ServiceUrl": ...
}
}
dotnet run --project EichkustMusic.Tracks.API
- Create .env in ./EichkustMusic.Tracks.Testing/bin/Env/net8.0/, where Env is test environment (For example, Debug)
S3_ACCESS_KEY= ...
S3_SECRET_KEY= ...
S3_SERVICE_URL= ...
- The easiest way to run test is to use Test Explorer in Visual Studio (https://learn.microsoft.com/en-us/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested)
- You should run each test separately!
- You should rollback S3 after each test manually in v1 release!