VideoHub - watch videos, get recommendations, search videos and share videos (upload) in the community.
ExpressJS - API server
ReactJS - Web Application
MongoDB - Database Store
Docker Container Images
- Docker Compose
docker compose up
-------------OR-------------
-
Run Web-Stream Container
docker run --rm -d --name webstream -p 80:80 userverse/webstream:latest
-
Run API-Stream Container
docker run --rm -d --name apistream --env-file .env -p 5000:5000 userverse/apistream:latest
Environmental Variables (Store in .env file):
JWT_SECRET=
MONGO_ATLAS_URI=
SERVER_PORT=5000
- After cloning the repository run command
npm i
in web-stream and api-stream directories.
-
For Web application
cd web-stream npm start
-
For API application
cd api-stream npm run server
Environmental Variables (Store in .env file):
JWT_SECRET=
MONGO_ATLAS_URI=
SERVER_PORT=5000
- For Web application
docker build -f web-stream/Dockerfile -t userverse/webstream:vdev .
- For API application
docker build -f api-stream/Dockerfile -t userverse/apistream:vdev .