shintech/mp3-stream-dev

Table of Contents

  1. Synopsis
  2. Usage
    a. .env
    b. Development
    c. Production
  3. TODO
  4. External Links

Synopsis

The next.js frontend and koa.js backend are both running on seperate servers. Any request to /api will be proxied to the backend which would presumably be running on a different machine.

Installation

./install.sh

Usage

config/env/.env

PORT=8000
NODE_ENV=development
BASE_URL=https://domain
EMAIL=example@example.org

Development

npm run dev

# or

yarn dev

Production

docker-compose build && docker-compose up -d

TODO

  • more descriptive names for redux actions
  • Playlist
  • Scan tracks into DB

<a name='external-links'

External Links - References