A simple video streaming made with Express.js
Express is a framework for Node.js used for building server-side applications.
- Routing e.g. when you access website_url/route_x
- Send and receive data
- Preprocess a web page (like PHP)
This repository shows you a simple usage of Express and how to stream files through it (a video in this case).
- Make sure you have Node and npm installed
- With a terminal opened at this folder, run
npm install - After installing, run
npm start - Go to
localhost:3000in your browser and check the video stream
For learning Express and video streaming, check these files out in the following order:
- app.js
- views/index.html
- routes/index.js
- routes.video.js