Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
/ SosaCloud Public archive

A microservice clone of the sidebar on SoundCloud's track player page

Notifications You must be signed in to change notification settings

auramix/SosaCloud

Repository files navigation

Sidebar and Related Tracks service

A front-end clone of SoundCloud's sidebar service

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

The relatedTracks view displays three tracks and their related information. Although the api can handle a track parameter provided in a call to the api, the relationship logic behind what constitutes a related track has been left undefined and three random tracks are retrieved from the database as a default.

API

  • GET '/api/track/:id' - Retrieves information for a specific track

  • GET '/api/user/:user_name' - Retrieves user information for a specific user

  • GET '/api/track/likes/:track_id' - Retrieves ids of users who have liked the specified track

  • GET '/api/track/reposts/:track_id' - Retrieves ids of users who have reposted specified track

  • GET '/api/playlists/:track_id' - Retrieves no more than 3 playlists that contain the specified track

Requirements

Development

Installing Dependencies

From within the root directory: npm install

About

A microservice clone of the sidebar on SoundCloud's track player page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published