Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 984 Bytes

README.md

File metadata and controls

50 lines (36 loc) · 984 Bytes

catalog-backend

Node JS Catalog backend

Create a catalog directory


REACT_APP_API_ENDPOINT=http://localhost:3000

Run Application

  • create start.sh file inside catalog
  • Add following content

if [ "$1" = "down" ]; then
  cd frontend && docker-compose down
  cd ../backend && docker-compose down
else
  cd frontend && docker-compose up -d
  cd ../backend && docker-compose up
fi

Make start.sh to executable and ./start.sh and enjoy