Skip to content

askyouth/dashboard-api

Repository files navigation

ASK Dashboard

Dashboard app consists of two parts, Node.js API on top of hapi framework and frontend in Angular.js.

Table of Contents

Requirements

Setup

Create Twitter Application

  1. Go to http://apps.twitter.com/
  2. Log in with your Broker Twitter account
  3. Click on Create New App
  4. Fill out required fields
  5. Click on Create your Twitter application
  6. Go to Keys and Access Tokens tab
  7. Click on Create my access token button

Create Klout Application

  1. Go to https://klout.com/signup
  2. Fill out required field
  3. Click on Register

Clone repository

git clone https://github.com/askyouth/dashboard-api.git 
yarn
cp .env.example .env

Setup environment

Edit .env and fill out required variables. For the list of possible environment variables see config/custom-environment-variables.json file.

Run migrations and seed database

yarn knex migrate:latest
yarn knex seed:run

Start

yarn start

Setup frontend app

Please refer to documentation for askyouth/dashboard-front for installation instructions.

License

MIT


EU Erasmus+

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.

About

Backend API for #ASK Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published