Welcome to RentFriends, an AirBnb inspired web application written primarily with jQuery for the frontend and Ruby on Rails for the backend. Styling with CSS and BootStrap.
In RentFriends users can sign up for an account, which allows them to rent a "Friend" for a specified amount of time if the "Friend" agrees. You can search "Friends" based on price and location to match what you are looking for. You can also become a "Friend" by entering information about where you are located and what you can offer, which creates a profile page for others to see and interact with.
Features:
- View all available "Friends" for hire
- View a "Friend" individually
- Become a "Friend" with your own stipulations
- Request a "Friend" for a specific period of time
- Reject or Accept incoming requests to rent you as a "Friend"
- Search for a "Friend" by city and max price
To become a friend simply click on the button in the navbar that will always be available allowing for ease of access. Upon completion of each input field the form will redirect you to your profile page that you just created. Everything you need to become a "Friend" is on that one page further emphasizing ease of usability. The address bar will automatically provide you with a google maps rendering of where you are located.
In the profile page of a "Friend" you can read the description of the activities the "Friend" is suggesting, as well as the cost they have specified for your activities together. Here you will also discover a google maps rendering of where you would be hanging out together.
A simple search function exists in the center of the home page that allows you to narrow your search. Here you can specify your city of choice, and your current budget, allowing RentFriends to filter options better suited for you.
In your dashboard, you can see your outgoing friend requests. The current status, be it pending, rejected, or accepted will be determined based on the responses made to the "Friend" you requested. Likewise if someone has requested you as a "Friend" to rent, their information will be made available on the Incoming Requests tab, allowing you to reject or accept. The Home tab will display your history and if you have any ongoing rentals.
<% if m.status == "pending" %>
<div class="col-xs-8 col-sm-6">
<p><strong><%= m.user.first_name %></strong> requested to be RentFriends with you</p>
<p><strong>Start Date:</strong> <%= m.start_date %></p>
<p><strong>End Date:</strong> <%= m.end_date %></p>
<br>
</div>
<div class="col-xs-8 col-sm-6">
<div class="btn_accept_reject">
<%= link_to match_accept_path(m) do %>
<p><button type="submit" class="btn btn-default btn-small">Accept</button>
<% end %>
<%= link_to offer_match_path(m.offer, m), method: :delete do %>
<button type="submit" class="btn btn-default btn-small">Reject</button></p>
<% end %>
</div>
</div>
<% end %>




