elocke / teakwood

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Angular (http://localhost:8080/

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

About

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


Languages

Language:Python 33.0%Language:CSS 28.5%Language:JavaScript 21.6%Language:HTML 16.9%