Skip to content

pavanskipo/LightningPI

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LightningPI

A simple media streaming app using Node.js, MongoDB and Angular. Upload Music and Movies to your server and stream the content over multiple devices.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

Setting up the Node server

  1. Install the node dependencies by runningnpm install
  2. Open db_url.js file inside utils folder ( path: utils/db_url.js )
  3. Configure Mongo DB credentials inside of settings object and run npm start
const  settings  = {
user:  '',
password:  '',
hostname:  '<your database ip>',
port:  '<your database port>',
db:  '<your database name>'
}

Setting up the Angular server

  1. Install the Angular dependencies by running npm install ( path: angular-src/LightningPI )
  2. Open common-http.service.ts file and configure the API endpoint and debug variables ( path: angular-src/LightningPI/src/app/services/common-http.service.ts )
  3. Generate the API key for OmDb API and put it inside secret_key variable
  4. run npm start

Open the app in your browser and enjoy !! ( ^ _ ^ )


 

About

Media streaming app using Node.js, MongoDB and Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published