Welcome to Air BnB of SJSU
http://localhost:8080/OpenHome/
http://localhost:8080/OpenHome/rest/ping
npm run start
docker build -t OpenHome-frontend -f ./OpenHome-frontend/Dockerfile ./OpenHome-frontend/.
docker run -d --name OpenHome-frontend \
--network=openhome \
-p 3000:3000 \
-e PROXY_HOST=BACKEND_URL \
OpenHome-frontend
BACKEND_HOSTNAME
is URL of your backend.
- Build the image
docker build -t openhome-backend -f ./OpenHome-server/Dockerfile ./OpenHome-server/.
docker run -d --name openhome-backend -p 8080:8080 openhome-backend:latest
- Check logs if everything ran successfully
docker logs OpenHome-backend
- Test ping path
http://localhost:8080/OpenHome/api/users
- Pull from Docker Hub
docker pull arihant95/openhome-backend:latest