/teakwood

proof of concept of a frontend for archive.org. Awaiting Angular2 beta.

Primary LanguagePython

teakwood

A archive.org LMA interface. Backend written in MongoDB, Redis, and Flask along with a messaging queue in Python-RQ. Frontend is AngularJS, served by flask.

Requires Docker.

After cloning, run docker-compose up and the environment will start.

Bash shell is accessible by running docker-compose run workers /bin/bash

Initializing db

After running docker-compose up, open a new terminal in the project folder. Run docker-compose run workers python /code/messaging/tasks.py to init db

API (currently served on localhost:8080/api)

  • /artists [GET, POST]
  • /artists/<artist_name>/shows [GET]
  • /artists/<_id> [GET, POST]
  • /artists/<_id>/shows [GET, POST]
  • /shows/ [GET, POST]
  • /shows/<_id> [GET, POST]

EVE for reference

  • Main View - /
  • Artist View (List of shows) - /artist/<_id>
  • Show View (Single show) - /show/<_id>
  • RQ dashboard - /rq