Skip to content

Latest commit

 

History

History

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Streamy - Web server

This is the Web API server for the live video streaming service.

The purpose is to keep a track of the currently running live streams and provide those to the React App.

Tools Used

Running the project

In the project directory, you can run:

npm ci

Installs the required packages in node_modules directory from the package-lock.json file.

npm start

Starts the server at http://localhost:3001

Persistence

Currently, persistence is achieved by storing the list of "streams" in db.json as a JSON.

Domain

http://localhost:3001

Resources

Has a single RESTful resource available:

streams

GET    /streams 
GET /streams/:id
POST /streams
PUT /streams/:id
PATCH /streams/:id
DELETE /streams/:id