Giter Club home page Giter Club logo

ls_demo's Introduction

Live Stream API Notes

An API to store/update/list director information from LiveStream's API

What is a director?

A Director is any account Live Stream's API. It consists of:

  • Directors Full Name
  • Directors Date of Birth
  • Directors Favorite Camera (Optional)
  • Directors Favorite Movies (Optional)

Installation

Clone the latest:

git clone [email protected]:SteveyPugs/LS_Demo.git
cd LS_Demo

Install the application's dependencies:

npm install .

Setup configuration files:

cp ./config/database.example.js ./config/database.js
cp ./config/database.example.js ./config/database.test.js
cp ./config/config.example.js ./config/config.js

Set up the database connection config in ./config/database.js. Make sure the credentials are correct as to avoid crashing. The database needs to be created in advance

exports.config = {
  type: 'mysql',
  hostname: 'localhost',
  port: 3306,
  db: 'mydbname',
  user: 'dbuser',
  password: 'dbpass'
};

Set up the test database connection config in ./config/database.test.js. Make sure the credentials are correct as to avoid crashing. The database needs to be created in advance

exports.config = {
  type: 'mysql',
  hostname: 'localhost',
  port: 3306,
  db: 'mydbname_test',
  user: 'dbuser',
  password: 'dbpass'
};

Set up the HTTP server config in ./config/config.js. The following is customizable:

exports.config = {
  hostname: 'localhost',
  port: 8000,
  tls: false
};

Run with node .!

LiveStream API Reference

See Live Stream API reference

How to run tests

make test

ls_demo's People

Contributors

steveypugs avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.