Skip to content

madhusudhan1234/catalog-backend

Repository files navigation

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