Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Latest commit

 

History

History
37 lines (25 loc) · 814 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 814 Bytes

Bandcamp API

As of today, Bandcamp does not provide an API for retrieving info about bands and their music in a developer friendly way. Aim of this project is to provide a self-hosted service that crawls given bands profiles and exposes found data using json:api format.

Originally made for hcxp.co

Setup

How to prepare (create and migrate) DB for development and test environments:

% bundle exec hanami db prepare

% HANAMI_ENV=test bundle exec hanami db prepare

How to run the development server:

% gem install foreman
% foreman start -f Procfile.dev

How to run the development console:

% bundle exec hanami console

How to run tests:

% bundle exec rspec