A website using data visualization to help users plan their trip to Portland or decide how much to list their property on Airbnb.
Check it out here: https://pdxbnb-76f3c.firebaseapp.com
- Average overall price by quadrant (North, Northwest, Southwest, Southeast, Northeast)
- Average room price by room type
- Average room price by quadrant broken out by entire room/apt, private room and shared room
- Search rooms by budget and month
- Firebase database using scrapped data from Airbnb curated by Tom Slee. Find all the data here: http://tomslee.net/airbnb-data.
- User authentication
- Routing for all current pages
- Deployed to Firebase
-
_
$ git clone https://github.com/AditModi/DataVisualizationForTripPlanner.git
_ -
$ cd PDXbnb
-
$ npm install
-
Add Firebase API Key (see next section)
-
$ ng serve --open
This app requires the use a Firebase API key to access Firebase database features. You can acquire one of your own to use when running this project by visiting the Firebase Website.
-
Create a new project.
-
Import
master-pdx-airbnb-data.json
into the database of the new project. -
Once the data is uploaded, click the gear icon next to Project Overview to access your project settings.
-
Click the button that says "Add Firebase to your web app" and copy the information from the modal window that pops up.
-
Create a file called
api-keys.ts
in thesrc/app/
directory and add the following code with your API key information in place of the 'xxx's:
export var masterFirebaseConfig = {
apiKey: "xxxx",
authDomain: "xxxx.firebaseapp.com",
databaseUrl: "https://xxx.firebaseio.com",
storageBucket: "xxxx.appspot.com",
messageingSenderId: "xxxx"
};
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
No known bugs at this time.
To suggest changes, submit a pull request in the GitHub repository.
- HTML
- CSS
- Typescript/Javascript
- Node
- Angular
- Firebase
Dependencies
- Webpack 4.0.1
- Angular
Dev Dependencies
- Webpack 4.0.1
- Webpack-cli 2.0.9
- ESLint
- Babel
- Bootstrap 4.0.0
- Typescript
MIT License
Copyright (c) 2018 Kaila Goff, Maggie Summers, Hannah Lee, Stephanie Faber