radio-list

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 9 Imported by: 0

README

radio-list

Radio-List is a web application that lists songs with their play count for Austrian radio stations from 2007 to 2018.

Configuration

The application can be configured using environment variables, either by using the file .env to store key/value pairs or by directly exporting them in the applications environment. The following variables can be used:

Environment variable Description Default
ADDRESS Address used to launch server localhost
PORT Port used to launch server 8080
ENV Application environment prod
DB_PATH Path to sqlite database database/radio-list.db
YOUTUBE_API_KEY API key to get YouTube video url -

Development

Prerequisites
Installation
  1. Clone repository

    git clone git@github.com:aschbacd/radio-list.git
    cd radio-list
    
  2. Install dependencies

    # node modules
    npm install
    
    # go packages
    go get ./...
    
  3. Open project in Visual Studio Code and install recommended extensions. There will be a popup in the lower right corner of your IDE.

  4. Start development servers

    # frontend
    npm start
    
    # backend
    go run .
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL