Skip to content

creates a spotify playlist based on most recent record reviews from my favourite music website plattentests.de 💿

License

Notifications You must be signed in to change notification settings

jetzlstorfer/plattentests-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plattentests.de - Highlights der Woche

Build and deploy to Azure function Build and deploy to Azure Container Apps CodeQL Dependency Review

👩‍💻 Please note that this project currently serves multiple purposes 👨‍💻

  1. The original purpose of generating a Spotify playlist that lists all "highlights" of the week of my personal favourite music website Plattentests.de.
  2. The purpose of getting to know more about serverless, Azure functions, and Azure Container Apps
  3. A playground for features like
    • Codespaces & devcontainers,
    • GitHub actions,
    • GitHub Copilot and other features of GitHub.

Therefore, some commit messages might not be useful at the moment :)

Structure

In the root directory, you will find the following folders:

  • cmd: Contains the main function of the project for the Azure Function
  • webui: Contains the web frontend of the project --> this is an Azure Container App with its own Dockerfile

Usage

💡 For your own convenience, make use of Codespaces or run it locally as devcontainer.

There is a Makefile with multiple targets to be used. ⚠️ Make sure you have the proper ENV variables set in a .env file.

  • To create a token and store it in Azure:

    make token
    
  • To run the project locally as Go binary:

    make run
    
  • To run the project locally as a function:

    make run-function
    
  • To run the web-frontend of the project (located in ./webui):

    make web
    

As Docker container

You can also run the project as a Docker container.

  • Azure Function:
    docker build -t plattentests-go .
    docker run -p 8080:8080 plattentests-go
    
  • Web Frontend (make sure it points to the correct function URL)
    cd webui
    docker build -t plattentests-go-web .
    docker run -p 8081:8081 plattentests-go-web
    

About

creates a spotify playlist based on most recent record reviews from my favourite music website plattentests.de 💿

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •