recommendations service component includes
- Front-end city search bar (auto-suggestions)
- Image carousel of recommendations
- Modal pop-up to save favorites
- Static footnotes
#Getting Started
run node SeedData.js from dbs folder
npm install all packages
If deploying on AWS server make sure to change axios request in componentDidMount in App.jsx (client/components/App.jsx) from:
axios.get(/room${window.location.pathname}
)
to:
axios.get(http://[Insert AWS EC2 public DNS]/room${window.location.pathname}
)
ex:
axios.get(http://ec2-54-90-97-213.compute-1.amazonaws.com/room${window.location.pathname}
)
Setup port forwarding to port 3001 sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3001
Start node process