Grabs spotify playlists based on appsettings Spotify:Username
value.
Has a form and index page to interact with.
If you don't have a spotfiy dev account go here
Written in .Net and react
deployed to https://www.domshyra.com
There are a few examples of how this project has progressed or the other technologies that have improved over time
Here is a sample version in containers
Here is a the upgrade to rtkQuery
Here are some of the Form items in this application that demo basic CRUD operations.
I recommend using VS Code and opening the API folder and the Web folder each in seprate vs code instances.
First navigate to the api folder
might have to run dotnet dev-certs https --trust
for api
Spotify will only work with a usersecrets file containing
{
"Spotify:ClientId": "SpotifyClientId",
"Spotify:ClientSecret": "SpotifyClientSecret"
}
run the following commands to add secrets.
dotnet user-secrets init
dotnet user-secrets set "Spotify:ClientId" "SpotifyClientId"
dotnet user-secrets set "Spotify:ClientSecret" "SpotifyClientSecret"
This project uses a local database
Make sure to have the latest version of the dotnet ef tool. See here for more information here
in order to set up the local db run dotnet ef database update
For more information on how to use the database and ef migrations see here
in vscode use ".NET core launch"
First navigate to the Web folder
run npm install
run npm start
in vscode use "Launch Chrome against localhost" to view the website or naviagate to the url webpack outputs in the npm start command