Skip to content

Turbasen/Developer

Repository files navigation

Nasjonal Turbase Developer

Build status Codacy grade Codacy coverage NPM downloads NPM version Node version Dependency status

Developer portal for Nasjonal Turbase.

Nasjonal Turbase Developer

Features

  • GitHub Authentication
  • Turbasen Developer Profile
  • Generate API keys for Nasjonal Turbase
  • Approve new API apps
  • Approve rate limit changes

Getting started

Download Docker for Mac or Windows.

Run in this directory:

$ docker-compose up

Environment

Put these environment variables in you .env file.

  • GH_OAUTH_CLIENT - GitHub Oauth Client ID
  • GH_OAUTH_SECRET - GitHub Oauth Client Secret
  • GH_OAUTH_RANDOM - GitHub Oauth Client Random

Commands

Command Description
npm test Run test suite
npm start Run development server
npm run watch Run test suite when files change
npm run lint Run source code linter
npm run grunt Build static assets