Deployed on https://nameless-shore-74763.herokuapp.com
You could get into admin manage page by type in the url:
https://nameless-shore-74763.herokuapp.com/iamgoddamnadmin, this will lead you to admin log-in page,
you could log in with account:777@hotmail.com and password 1234qwer.
Basically you could find everything you need in the admin's home page.
Realtor need to first log in into the home page https://nameless-shore-74763.herokuapp.com. if you just register as a realtor, you need to click edit profile to edit your information.You can also chose a company to join or regisiter your new company in this link. After you finish edit profile, you can click Manage houses to view all the houses and you can add a new house here.Also, you can click edit or destroy to do something about your own houses. Other than that, you can click the 'show' of any house to view the information of that house , add a picture , edit the picture, view the inquiry ,view the potential buyer or reply to some inquiry at this page. You can also click the Manage Profile and company to edit your information or view your company and do some thing about it.
Househunter need to first log in into the home page https://nameless-shore-74763.herokuapp.com. if you just register as a househunter, you need to click edit profile to edit your information. After that, in your home page, you can click 'view companies' to see all the companies. You can also click 'view houses'to view all the houses and if you're interested in anyone, you can click 'add to my interest' to add it to your interest list. For each house, you can also click show to see the detail of this house and the picture of it. The Homepage also include the 'search Houses' which allow you to search the house based on year built and the range of price . Moreover, the homepage have 'view interest',where you can view all the houses in your interest list and you can click 'send a inquiry' to send a inquiry for a specific house, this action will automatically send a deafult message to this house and you can edit the content anytime you want to. Finally, you can click the 'view inquiry'to view all the inquiry you send and edit any of it.
We test the controller of inquiry and the model of admin.you can see the code in the test folder/
PS: we were kind of messed up with 'back' button, so if it not works plz use back button in your browser. Sorry about that