Dashboard app consists of two parts, Node.js API on top of hapi framework and frontend in Angular.js.
Table of Contents
- Node.js (8 or newer)
- Yarn
- PostgreSQL (9.4 or newer)
- Twitter App credentials
- Klout App credentials
- Go to http://apps.twitter.com/
- Log in with your Broker Twitter account
- Click on
Create New App - Fill out required fields
- Click on
Create your Twitter application - Go to
Keys and Access Tokenstab - Click on
Create my access tokenbutton
- Go to https://klout.com/signup
- Fill out required field
- Click on
Register
git clone https://github.com/askyouth/dashboard-api.git
yarn
cp .env.example .envEdit .env and fill out required variables. For the list of possible environment variables see config/custom-environment-variables.json file.
yarn knex migrate:latest
yarn knex seed:runyarn startPlease refer to documentation for askyouth/dashboard-front for installation instructions.
This project has been funded with support from the European Commission. This publication reflects the views only of the author, and the Commission cannot be held responsible for any use that may be made of the information contained therein.
