- Date Created: 1 JUN 2022
- Last Modification Date: 24 JUL 2022
- Deployed Application URL: https://bnb-til6sazzwa-uc.a.run.app/
- Git Repository URL: https://git.cs.dal.ca/benny/csci5410_Group24
- Benny Tharigopala - (Maintainer)
- Jaswanth Mandava - (Maintainer)
- Kandarp Parikh - (Maintainer)
- Prit Thakkar - (Maintainer)
- Ruchi Shinde - (Maintainer)
- Viren Malavia - (Maintainer)
See the following section for detailed step-by-step instructions on how to run this project locally and See deployment for notes on how to deploy the project on a live system.
To have a local copy of this tutorial up and running on your local machine, you will first need to install the following software
To get a development env running on local machine, run the following command in the project directory
Below command installs all the packages provided in package.json file into the folder called node_modules at the root of the project directory. You can see node_modules folder created at the root of the project directory when installation gets successful.
npm install
Below command runs the project in development mode. You can visit http://localhost:3000 to view it in your browser.
npm start
The deployment of Serverless B&B is on Google Cloud Run, which allows us to run containerized application invocable by requests. We have packaged the image using Docker with base image of node and NGINX.
Below command creates a build and pushes it to the Container Registry
gcloud builds submit --tag gcr.io/[YOUR_PROJECT_ID]/cra-cloud-run
Below command deploys the container image to CloudRun.
gcloud run deploy --image gcr.io/[YOUR_PROJECT_ID]/cra-cloud-run --platform managed
- React - A JS library for building UIs
- React router dom - A library for frontend routing for Single Page Application (SPA)
- Material UI - The React UI library
- Bootstrap - Build fast, responsive sites with Bootstrap
- Google Cloud - Cloud Provider
- Amazon Web Services - Cloud Provider
- This project was bootstrapped with Create React App.