5007-Tutorial5 Hotel California International Waitlist System
Part I: Environment Setup
2. run the container with port 3000 and port 5000
docker run -p 3000:3000 -p 5000:5000 -dit ubuntu
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
4. restart the container and do the following
curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
press Ctrl+a followed by d to return to terminal
6. git installation and clone
git clone https://github.com/Catherine9898/5007-Tutorial5.git
1. dependencies installation
Press Ctrl+a followed by d to return to terminal
3. initialize the database and run the back-end api [in folder "api"]
mongo issuetracker scripts/init.mongo.js
Press Ctrl+a followed by d to return to terminal
4. run the front-end ui [in folder "ui"]
Press Ctrl+a followed by d to return to terminal
5. view the app from browser
open localhost:3000
in your browser