Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ephantus-wambui/streaming-app
Node.js streaming app for your local clients connected to your network.
https://github.com/ephantus-wambui/streaming-app
ejs express mongodb mongoose nodejs video-streaming
Last synced: about 1 month ago
JSON representation
Node.js streaming app for your local clients connected to your network.
- Host: GitHub
- URL: https://github.com/ephantus-wambui/streaming-app
- Owner: Ephantus-Wambui
- Created: 2021-07-12T07:50:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-28T17:52:11.000Z (over 2 years ago)
- Last Synced: 2023-03-10T06:51:07.565Z (almost 2 years ago)
- Topics: ejs, express, mongodb, mongoose, nodejs, video-streaming
- Language: JavaScript
- Homepage:
- Size: 194 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Streaming App
Simple Node.js streaming app for clients who are connected to your local network.
# USAGE;
1) Clone the repo first, then create a folder called videos in your public folder.
2) Then create a .env file where you will store all your database connection details, and also your PORT number to be used by the server.
3) For secure connection you can create your SSL certificate and store them in a folder called config in the root directory. Or you can generate a free ssl certificate using https://www.npmjs.com/package/make-cert.
4) After this spin up your server by running npm start for production mode or npm run dev for development server. This can only work after you've installed your dependencies, run npm install if you've not done so.
5) Go to your browser of choice, preferably chromium based browser, and run https://localhost:"your port number", or through your local network ip address, that is https://192.168.x.x:"your port number".
6) To upload files go to register account, enter your details then login to the app. After that you can start uploading files to your app, and stream them.# Dependencies needed
node 14x or greater
npm 6x or greater
bcrypt, body-parser, connect-mongo, dotenv, ejs, express, express-fileupload, express-session, mongoose, morgan, slugify
# How to install dependencies
After cloning the repo, the depencies can be simply be installed by running, npm install. All of the necessary depencies will be installed to your machine.
# Note
# This app can run on any machine, macos, windows and also any linux based machine.
# Also I'm assuming you are already running mongodb instance in your local machine, if not you can install mongodb database or you can sign up to use mongodb atlas.