Skip to content

ohbriansung/hotelApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hotelApp

hotelApp

Use this App

hotelApp

Introduction and How to Use

Try to get a quick and simple registration on my application by using the "hotelApp" link above. Login and look for hotel information, reviews and attractions in San Francisco Bay Area. Save a hotel by clicking the empty heart in the upper right-hand corner of the hotel detail. Like a review if it is interesting to you. Add a review for a hotel you had visited. Manage your own histories in MyPage. Finally, enjoy using my application.

Notice that the application doesn't store your password directly, so you don't need to worry about anyone getting your personal information. Instead, I hash your password with randomly produced salt every time before adding it into database. The user data in my database should looks like this:

hashed password and salt

Frontend

  1. Bootstrap_v4 - The web framework
  2. SweetAlert - The alert tool
  3. Google APIs - Displaying map and attractions
  4. JavaScript - Supporting frontend events
  5. AJAX - Communication between frontend and backend

Backend

  1. Java - Core programming language
  2. Jetty Servlet - Server handler
  3. JDBC - Java database library
  4. Velocity - Template Engine
  5. MySQL - Database

Deployment

  1. Digital Ocean - Deployed on Digital Ocean using Ubuntu 18.04
  2. AWS - Used to be deployed on Amazon Web Service using Elastic Beanstalk with Java 8 environment and RDS MySQL database

Other Notes

  • All frontend static files are in frontend folder, Java source code is in src.
  • Hotel information and review data is provided in input.
  • More details please see Java document in Java_Doc.zip.
  • If you want to build this environment on your local device, make sure to change parameters in /doc/database.properties to connect with your local database.

Author

Chien-Yu (Brian) Sung

Acknowledgment

This project is for academic purposes only.

Other References

  1. University of San Francisco
  2. AWS
  3. Google APIs
  4. Start Bootstrap
  5. Expedia
  6. Imgur
  7. ORBO